2010-01-21 Jedy Wang <[email protected]>
authorjedy
Thu, 21 Jan 2010 11:38:22 +0000
changeset 17413 886ebbc29ceb
parent 17412 2e5a7fe3c627
child 17414 a172aa1b8723
2010-01-21 Jedy Wang <[email protected]> * SUNWlibnotify.spec: Updates cflags to fix 64-bit build problem.
ChangeLog
SUNWlibnotify.spec
--- a/ChangeLog	Thu Jan 21 10:44:29 2010 +0000
+++ b/ChangeLog	Thu Jan 21 11:38:22 2010 +0000
@@ -1,3 +1,7 @@
+2010-01-21  Jedy Wang  <[email protected]>
+
+	* SUNWlibnotify.spec: Updates cflags to fix 64-bit build problem.
+
 2010-01-21  Halton Huo  <[email protected]>
 
 	* base-specs/gdm.spec: Remove --ctrun argument
--- a/SUNWlibnotify.spec	Thu Jan 21 10:44:29 2010 +0000
+++ b/SUNWlibnotify.spec	Thu Jan 21 11:38:22 2010 +0000
@@ -44,7 +44,8 @@
 
 %build
 %ifarch amd64 sparcv9
-export CFLAGS="%optflags"
+export PKG_CONFIG_PATH=%{_libdir}/%{_arch64}/pkgconfig
+export CFLAGS="%optflags64"
 export LDFLAGS="%_ldflags"
 %libnotify64.build -d %name-%version/%{_arch64}
 %endif
@@ -89,6 +90,8 @@
 %{_includedir}/libnotify/*.h
 
 %changelog
+* Thu Jan 21 2010 - [email protected]
+- Updates cflags to fix 64-bit build problem.
 * Sun Jan  3 2009 - [email protected]
 - Add dep on SUNWgtk2.
 * Tue Dec 29 2009 - [email protected]