forked from pool/libredwg
Accepting request 1105038 from devel:libraries:c_c++
- Set -D_GNU_SOURCE to work around strcasestr being undeclared OBS-URL: https://build.opensuse.org/request/show/1105038 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libredwg?expand=0&rev=17
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 21 09:42:33 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Set -D_GNU_SOURCE to work around strcasestr being undeclared
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 15 17:21:54 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@@ -77,6 +77,7 @@ OpenDWG libraries. DWG is the native file format of AutoCAD.
|
||||
# No management of SO version despite ABI breaking changes:
|
||||
# Force-add some symvers so RPM can produce meaningful deps.
|
||||
echo 'V_%version { global: *; };' >src/sv.sym
|
||||
export CFLAGS="%optflags -D_GNU_SOURCE=1"
|
||||
%configure --disable-static
|
||||
%make_build libredwg_la_LDFLAGS=-Wl,-version-script,sv.sym libredwg_la_LIBADD=-lm
|
||||
|
||||
|
Reference in New Issue
Block a user