ref: e3fce5095bbf6af2112ac249bf85cea35864cbd8
parent: d8e318e0a441b1fca46c59daf99b77697691f2b8
author: Martin Storsjö <[email protected]>
date: Wed Feb 19 16:14:06 EST 2014
Explicitly allow read-only relocations when building on OS X in 32 bit mode This fixes building libwels.dylib, since the assembly code isn't position independent.
--- a/build/platform-darwin.mk
+++ b/build/platform-darwin.mk
@@ -8,5 +8,6 @@
ASMFLAGS += -f macho64
else
ASMFLAGS += -f macho
+LDFLAGS += -read_only_relocs suppress
endif