mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-04 22:32:19 +00:00
fix rpm spec file for gcc 3.[23]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@4795 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
446f09c209
commit
532082c2c8
@ -1,3 +1,8 @@
|
||||
2002-07-26 Kuba Ober <kuba@mareimbrium.org>
|
||||
|
||||
* lyx.spec.in: when compiling with gcc 3.[12], do not use
|
||||
--with-included-string.
|
||||
|
||||
2002-07-09 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
|
||||
|
||||
* Win32/lyxwin32.c: update to accept arguments
|
||||
|
@ -35,10 +35,12 @@ and let the computer take care of the rest.
|
||||
|
||||
%build
|
||||
unset LINGUAS || true
|
||||
ISTRING=--with-included-string
|
||||
if gcc -v 2>&1 | grep -e "version 3.\(1\|2\)"; then ISTRING=; fi
|
||||
CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS="$RPM_OPT_FLAGS" \
|
||||
./configure --prefix=%{_prefix} --mandir=%{_mandir} \
|
||||
--bindir=%{_bindir} --datadir=%{_datadir} \
|
||||
--without-warnings --with-included-string
|
||||
--without-warnings $ISTRING
|
||||
make
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user