SHA256
1
0
forked from pool/libredwg

- Set -D_GNU_SOURCE to work around strcasestr being undeclared

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libredwg?expand=0&rev=39
This commit is contained in:
2023-08-21 09:42:49 +00:00
committed by Git OBS Bridge
parent 736aab22b2
commit 935bfe1e33
2 changed files with 6 additions and 0 deletions

View File

@@ -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>

View File

@@ -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