diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-02-20 00:49:14 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-02-20 00:49:14 +0100 |
commit | 8ff409cb9a393559ebda3990ab2926c9a42d87a1 (patch) | |
tree | 0bcb602efb916fc4d85f261a66b159cbebf37823 /make/template | |
parent | 7bea24293aae2edb54f748101b45f52aca027a96 (diff) | |
parent | 755c259b639050378159837facb5fbfa2447b3b8 (diff) |
Merge pull request #997 from SaberUK/master+compiler-detection
Improve compiler detection in configure; update supported compiler tests.
Diffstat (limited to 'make/template')
-rw-r--r-- | make/template/main.mk | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/make/template/main.mk b/make/template/main.mk index 39e2b1c23..9ac43e3bb 100644 --- a/make/template/main.mk +++ b/make/template/main.mk @@ -37,7 +37,7 @@ COMPILER = @COMPILER_NAME@ SYSTEM = @SYSTEM_NAME@ BUILDPATH ?= $(PWD)/build SOCKETENGINE = @SOCKETENGINE@ -CORECXXFLAGS = -fPIC -fvisibility-inlines-hidden -pipe -Iinclude -Wall -Wextra -Wfatal-errors -Wno-unused-parameter -Wshadow +CORECXXFLAGS = -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pipe -Iinclude -Wall -Wextra -Wfatal-errors -Wno-unused-parameter -Wshadow LDLIBS = -lstdc++ CORELDFLAGS = -rdynamic -L. $(LDFLAGS) PICLDFLAGS = -fPIC -shared -rdynamic $(LDFLAGS) @@ -60,10 +60,6 @@ INSTMODE_LIB = 0640 @ENDIF @ENDIF -@IFNEQ $(SYSTEM)-$(COMPILER) darwin-GCC - CORECXXFLAGS += -fvisibility=hidden -@ENDIF - @IFNEQ $(SYSTEM) darwin LDLIBS += -pthread @ENDIF |