diff options
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -18,10 +18,12 @@ PACKAGE_NAME = qt-$(VERSION) GCC_PATH = /opt/dev-tools/gcc/8.2.0/x86-linux64/gcc-8.2.0 -CC ?= gcc-7 # "-m64 -static-libgcc -nodefaultlibs" -CXX ?= g++-7 #"-m64 -static-libgcc -static-libstdc++ -nodefaultlibs" +CC ?= gcc +CXX ?= g++ + CC_LDFLAGS = "-m64 -static-libgcc -nodefaultlibs -nostartfiles" -CXX_LDFLAGS_ = "-m64 -static-libgcc -static-libstdc++ -nodefaultlibs -nostartfiles" +CXX_LDFLAGS = "-m64 -static-libgcc -static-libstdc++ -nodefaultlibs -nostartfiles" + QT_STATIC_FLAGS = -static -static-runtime -no-shared all: download qt |