Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 9786a9648b | |||
| 87c03cf518 |
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 2 13:25:14 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
|
||||
|
||||
- add -std=gnu11 to CFLAGS to fix gcc15 compile time error, and to
|
||||
still allow build on Leap 15.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 25 14:31:42 UTC 2023 - Thomas Blume <thomas.blume@suse.com>
|
||||
|
||||
|
||||
2
w3m.spec
2
w3m.spec
@@ -80,7 +80,7 @@ find -name CVS -exec rm -Rf "{}" "+"
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS -DUSE_BUFINFO -DOPENSSL_NO_SSL_INTERN -D_GNU_SOURCE $(getconf LFS_CFLAGS) -fno-strict-aliasing `ncursesw6-config --cflags` -fPIE"
|
||||
export CFLAGS="$RPM_OPT_FLAGS -DUSE_BUFINFO -DOPENSSL_NO_SSL_INTERN -D_GNU_SOURCE $(getconf LFS_CFLAGS) -fno-strict-aliasing `ncursesw6-config --cflags` -fPIE -std=gnu11"
|
||||
export CXXFLAGS="$CFLAGS"
|
||||
export LDFLAGS="`ncursesw6-config --libs` -pie"
|
||||
./configure --bindir=/usr/bin \
|
||||
|
||||
Reference in New Issue
Block a user