openbsd-ports/cad/qcad/patches/patch-mkspecs_defs_pro
kili 16aa7c1282 Fix build for gcc4.
Add some cleanups from Antti Harri <iku@openbsd.fi>.

This does not include the patch that reorders recently
used files for now.
2010-06-07 20:08:09 +00:00

14 lines
456 B
Plaintext

$OpenBSD: patch-mkspecs_defs_pro,v 1.2 2010/06/07 20:08:09 kili Exp $
--- mkspecs/defs.pro.orig Tue Nov 22 12:47:28 2005
+++ mkspecs/defs.pro Mon Jun 7 21:46:07 2010
@@ -1,6 +1,7 @@
# $Id: patch-mkspecs_defs_pro,v 1.2 2010/06/07 20:08:09 kili Exp $
-QMAKE_CXXFLAGS_DEBUG += -pedantic
-QMAKE_CXXFLAGS += -pedantic
+QMAKE_CXXFLAGS_DEBUG += ${CXXFLAGS}
+QMAKE_CXXFLAGS += ${CXXFLAGS}
+QMAKE_CXXFLAGS_RELEASE =
win32 {
QMAKE_CFLAGS_THREAD -= -mthreads