summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index da1e62c..fba0c5d 100644
--- a/Makefile
+++ b/Makefile
@@ -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