Fix Qt release builds
authorhausmann <hausmann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Mar 2007 15:33:11 +0000 (15:33 +0000)
committerhausmann <hausmann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Mar 2007 15:33:11 +0000 (15:33 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@20612 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/WebCore.pro

index 20f648ff2f2e179317e066fc2f5a4867588a5c61..f0e3282521a6ba286383cb48a0e9ab5cdec4f168 100644 (file)
@@ -1,3 +1,9 @@
+2007-03-30  Simon Hausmann  <hausmann@kde.org>
+
+        Reviewed by Zack
+
+        * WebCore.pro: Fix release Qt builds.
+
 2007-03-30  Antti Koivisto  <antti@apple.com>
 
         Reviewed by bdash.
 2007-03-30  Antti Koivisto  <antti@apple.com>
 
         Reviewed by bdash.
index d148f8f7b84c0825967543be70adb6a87ad3374e..e0624535b9b8fd753bc952f79f075a747adb5cfd 100644 (file)
@@ -17,6 +17,14 @@ QMAKE_CXXFLAGS += -Wreturn-type
 contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
 unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions
 
 contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
 unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions
 
+linux-*: DEFINES += HAVE_STDINT_H
+
+DEFINES += USE_SYSTEM_MALLOC
+
+CONFIG(release) {
+    DEFINES += NDEBUG
+}
+
 # PRE-BUILD: make the required config.h file
 #config_h.target = config.h
 #config_h.commands = cp config.h.qmake config.h
 # PRE-BUILD: make the required config.h file
 #config_h.target = config.h
 #config_h.commands = cp config.h.qmake config.h