SPECS: tennix.spec - really pass CFLAGS, not just pretend to - pas...
shadzik
shadzik at pld-linux.org
Mon Jul 16 01:43:34 CEST 2007
Author: shadzik Date: Sun Jul 15 23:43:34 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- really pass CFLAGS, not just pretend to
- pass LDFLAGS and LIBS too
---- Files affected:
SPECS:
tennix.spec (1.8 -> 1.9)
---- Diffs:
================================================================
Index: SPECS/tennix.spec
diff -u SPECS/tennix.spec:1.8 SPECS/tennix.spec:1.9
--- SPECS/tennix.spec:1.8 Sun Jul 15 23:46:54 2007
+++ SPECS/tennix.spec Mon Jul 16 01:43:28 2007
@@ -36,10 +36,11 @@
%{__sed} -i 's at data@%{_datadir}/%{name}@' tennix.h
%build
-# CFLAGS through env for CFLAGS+= to work in makefile
-CFLAGS="%{rpmcflags}" \
%{__make} \
- CC="%{__cc}"
+ CC="%{__cc}" \
+ LIBS="-lSDL -lpthread -lSDL_mixer -lSDL_image" \
+ CFLAGS="%{rpmcflags} -DVERSION=\'%{version}\' -I/usr/include/SDL" \
+ LDFLAGS="%{rpmldflags}"
%install
rm -rf $RPM_BUILD_ROOT
@@ -67,6 +68,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.9 2007/07/15 23:43:28 shadzik
+- really pass CFLAGS, not just pretend to
+- pass LDFLAGS and LIBS too
+
Revision 1.8 2007/07/15 21:46:54 lisu
- 0.3.2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/tennix.spec?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list