Browse Source

Merge pull request #261 from janjaapbos/synology

Fix for cross compiling
Adam Ierymenko 9 years ago
parent
commit
6c0de526e8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      make-linux.mk

+ 1 - 1
make-linux.mk

@@ -75,7 +75,7 @@ else
 	CXXFLAGS?=-O3 -fstack-protector
 	CXXFLAGS?=-O3 -fstack-protector
 	CXXFLAGS+=-Wall -fPIE -fvisibility=hidden -fno-rtti -pthread $(INCLUDES) -DNDEBUG $(DEFS)
 	CXXFLAGS+=-Wall -fPIE -fvisibility=hidden -fno-rtti -pthread $(INCLUDES) -DNDEBUG $(DEFS)
 	LDFLAGS=-pie -Wl,-z,relro,-z,now
 	LDFLAGS=-pie -Wl,-z,relro,-z,now
-	STRIP=strip --strip-all
+	STRIP+=--strip-all
 endif
 endif
 ifeq ($(ZT_TRACE),1)
 ifeq ($(ZT_TRACE),1)
 	DEFS+=-DZT_TRACE 
 	DEFS+=-DZT_TRACE