static link flag on main executable
authorMiodrag Milanovic <mmicko@gmail.com>
Sat, 25 Aug 2018 14:20:44 +0000 (16:20 +0200)
committerMiodrag Milanovic <mmicko@gmail.com>
Sat, 25 Aug 2018 14:20:44 +0000 (16:20 +0200)
Makefile

index c1e5c789db9a571529c1f64ef9c3c6c7f9754fda..18bf303b147107e4876d4d3782138abeac4e0469 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -158,7 +158,7 @@ ABCMKARGS += ARCHFLAGS="-DABC_USE_STDINT_H"
 
 else ifeq ($(CONFIG),gcc-static)
 LD = $(CXX)
-LDFLAGS := $(filter-out -rdynamic,$(LDFLAGS)) -s
+LDFLAGS := $(filter-out -rdynamic,$(LDFLAGS)) -static
 LDLIBS := $(filter-out -lrt,$(LDLIBS)) 
 CXXFLAGS := $(filter-out -fPIC,$(CXXFLAGS))
 CXXFLAGS += -std=c++11 -Os