Fix build of Haiku on gcc10 host
Change-Id: Iea16a7d07a32497c4f228739945356b5c8be9897 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2540 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
0ad4a233f6
commit
a742970be5
@ -304,7 +304,7 @@ if $(HOST_ARCH) = m68k {
|
||||
|
||||
if $(HOST_PLATFORM) != darwin {
|
||||
# fix for new changes to DSO linking policies
|
||||
HOST_LINKFLAGS += -Xlinker --no-as-needed ;
|
||||
HOST_LINKFLAGS += -Xlinker --no-as-needed -Wl,--copy-dt-needed-entries ;
|
||||
}
|
||||
|
||||
|
||||
|
@ -49,7 +49,7 @@
|
||||
|
||||
#if __GNUC__ == 2
|
||||
# define B_HAIKU_ABI B_HAIKU_ABI_GCC_2_HAIKU
|
||||
#elif (__GNUC__ >= 4 && __GNUC__ <= 9) || defined(__TINYC__)
|
||||
#elif (__GNUC__ >= 4 && __GNUC__ <= 10) || defined(__TINYC__)
|
||||
# define B_HAIKU_ABI B_HAIKU_ABI_GCC_4
|
||||
#else
|
||||
# error Unsupported compiler!
|
||||
|
Loading…
Reference in New Issue
Block a user