]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - Makefile
tools/imagetool: remove linker script
[karo-tx-uboot.git] / Makefile
index e0d9fb89b2ed77b6cafb2e74f4ab386e29498a73..72fedc22dd538bf72f38ee68791bd30080800ab6 100644 (file)
--- 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.