summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openscad.pro2
-rwxr-xr-xscripts/release-linux.sh2
2 files changed, 1 insertions, 3 deletions
diff --git a/openscad.pro b/openscad.pro
index ea6f03b..4613de7 100644
--- a/openscad.pro
+++ b/openscad.pro
@@ -61,8 +61,6 @@ else {
INCLUDEPATH += /usr/include/eigen2
}
-!macx:QMAKE_CXXFLAGS_RELEASE = -O3 -march=pentium
-
# QMAKE_CFLAGS += -pg
# QMAKE_CXXFLAGS += -pg
# QMAKE_LFLAGS += -pg
diff --git a/scripts/release-linux.sh b/scripts/release-linux.sh
index edb79eb..2de7b86 100755
--- a/scripts/release-linux.sh
+++ b/scripts/release-linux.sh
@@ -7,7 +7,7 @@ set -ex
# svnclean
-qmake-qt4 VERSION=$VERSION
+qmake-qt4 VERSION=$VERSION QMAKE_CXXFLAGS_RELEASE="-O3 -march=pentium"
make
rm -rf release
contact: Jan Huwald // Impressum