LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File gcc46.patch of Package CodeAnalyst (Project openSUSE:12.1)

--- src/ca/gui/Makefile.am.orig	2010-12-15 03:12:10.000000000 +0100
+++ src/ca/gui/Makefile.am	2011-07-11 15:30:13.000000000 +0200
@@ -204,7 +204,7 @@
 	-ldl
 endif
 
-CodeAnalyst_LDFLAGS= -fPIC --no-undefined @QT_LDFLAGS@
+CodeAnalyst_LDFLAGS= -fPIC -Wl,--no-undefined @QT_LDFLAGS@
 
 splashdir=$(prefix)/share/codeanalyst
 splash_DATA=CASplash.png
--- ./src/ca/diffgui/NewSessionWizard.h.orig	2011-07-11 17:11:58.000000000 +0200
+++ ./src/ca/diffgui/NewSessionWizard.h	2011-07-11 17:12:33.000000000 +0200
@@ -19,6 +19,7 @@
 #ifndef _NEWSESSIONWIZARD_H_
 #define _NEWSESSIONWIZARD_H_
 
+#include <stddef.h>
 #include "diffStruct.h"
 #include "iNewSessionWizard.h"
 #include "tbsreader.h"
--- ./src/ca/diffgui/Makefile.am.orig	2011-07-11 17:17:28.000000000 +0200
+++ ./src/ca/diffgui/Makefile.am	2011-07-11 17:17:54.000000000 +0200
@@ -92,7 +92,7 @@
 
 endif
 
-DiffAnalyst_LDFLAGS= -fPIC --no-undefined @QT_LDFLAGS@
+DiffAnalyst_LDFLAGS= -fPIC -Wl,--no-undefined @QT_LDFLAGS@
 
 AM_CPPFLAGS= $(FLAG64) -pipe -DQT_SHARED -DQT_THREAD_SUPPORT \
 	@QT_INCLUDES@ \
--- src/ca/utils/Makefile.am.orig	2011-07-11 17:22:05.000000000 +0200
+++ src/ca/utils/Makefile.am	2011-07-12 13:05:38.000000000 +0200
@@ -4,7 +4,7 @@
 	ca_user_manager.cpp
 
 ca_user_manager_LDFLAGS = \
-	-fPIC --no-undefined @QT_LDFLAGS@
+	-fPIC -Wl,--no-undefined @QT_LDFLAGS@
 
 ca_user_manager_LDADD = \
 	@QT_LIB@ \
@@ -14,7 +14,7 @@
 	ca_oprofile_controller.cpp
 
 ca_oprofile_controller_LDFLAGS = \
-	-fPIC --no-undefined
+	-fPIC -Wl,--no-undefined
 
 ca_oprofile_controller_LDADD = \
 	-lpopt