aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 6b4c9f93..72bc912a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -294,7 +294,9 @@ ifeq (Darwin,$(TARGET_SYS))
294 endif 294 endif
295 TARGET_STRIP+= -x 295 TARGET_STRIP+= -x
296 TARGET_AR+= 2>/dev/null 296 TARGET_AR+= 2>/dev/null
297 TARGET_XCFLAGS+= -fno-stack-protector 297 ifeq (,$(shell $(TARGET_CC) -o /dev/null -c -x c /dev/null -fno-stack-protector 2>/dev/null || echo 1))
298 TARGET_XCFLAGS+= -fno-stack-protector
299 endif
298 TARGET_XSHLDFLAGS= -dynamiclib -single_module -undefined dynamic_lookup -fPIC 300 TARGET_XSHLDFLAGS= -dynamiclib -single_module -undefined dynamic_lookup -fPIC
299 TARGET_DYNXLDOPTS= 301 TARGET_DYNXLDOPTS=
300 TARGET_XSHLDFLAGS+= -install_name $(TARGET_DYLIBPATH) -compatibility_version $(MAJVER).$(MINVER) -current_version $(MAJVER).$(MINVER).$(RELVER) 302 TARGET_XSHLDFLAGS+= -install_name $(TARGET_DYLIBPATH) -compatibility_version $(MAJVER).$(MINVER) -current_version $(MAJVER).$(MINVER).$(RELVER)