X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=blobdiff_plain;f=Makefile;h=72fedc22dd538bf72f38ee68791bd30080800ab6;hp=e0d9fb89b2ed77b6cafb2e74f4ab386e29498a73;hb=7a919df564980595e861155ae48691045b54258a;hpb=dd4e3fa6586580edbf7bfc9218901578b85e745a;ds=sidebyside diff --git a/Makefile b/Makefile index e0d9fb89b2..72fedc22dd 100644 --- a/Makefile +++ b/Makefile @@ -281,6 +281,11 @@ os_x_before = $(shell if [ $(DARWIN_MAJOR_VERSION) -le $(1) -a \ HOSTCC = $(call os_x_before, 10, 5, "cc", "gcc") HOSTCFLAGS += $(call os_x_before, 10, 4, "-traditional-cpp") HOSTLDFLAGS += $(call os_x_before, 10, 5, "-multiply_defined suppress") + +# since Lion (10.7) ASLR is on by default, but we use linker generated lists +# in some host tools which is a problem then ... so disable ASLR for these +# tools +HOSTLDFLAGS += $(call os_x_before, 10, 7, "", "-Xlinker -no_pie") endif # Decide whether to build built-in, modular, or both.