summaryrefslogtreecommitdiff
path: root/mkspecs/hpux-cc
Side-by-side diff
Diffstat (limited to 'mkspecs/hpux-cc') (more/less context) (ignore whitespace changes)
-rw-r--r--mkspecs/hpux-cc/qmake.conf9
1 files changed, 6 insertions, 3 deletions
diff --git a/mkspecs/hpux-cc/qmake.conf b/mkspecs/hpux-cc/qmake.conf
index fe5d293..950bc99 100644
--- a/mkspecs/hpux-cc/qmake.conf
+++ b/mkspecs/hpux-cc/qmake.conf
@@ -31,3 +31,3 @@ MAKEFILE_GENERATOR = UNIX
TEMPLATE = app
-CONFIG += qt warn_on release
+CONFIG += qt warn_on release link_prl
@@ -47,3 +47,3 @@ QMAKE_CFLAGS_YACC =
QMAKE_CXX = CC
-QMAKE_CXXFLAGS = +DA1.1e -w +a1 $(CXXFLAGS_EXTRA)
+QMAKE_CXXFLAGS = +DA1.1e -w +a1 -D_HPUX_SOURCE $(CXXFLAGS_EXTRA)
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
@@ -74,4 +74,5 @@ QMAKE_LFLAGS_SONAME = -Wl,+h,
QMAKE_RPATH = -Wl,+b,
+QMAKE_HPUX_SHLIB = 1
-QMAKE_LIBS = $(LIBS_EXTRA)
+QMAKE_LIBS = -lm $(LIBS_EXTRA)
QMAKE_LIBS_DYNLOAD = -ldld
@@ -97 +98,3 @@ QMAKE_DEL_FILE = rm -f
QMAKE_DEL_DIR = rmdir
+QMAKE_CHK_DIR_EXISTS = test -d
+QMAKE_MKDIR = mkdir -p