Accepting request 513676 from home:Andreas_Schwab:glibc:rebuild

- Define _GNU_SOURCE to request GNU extensions

OBS-URL: https://build.opensuse.org/request/show/513676
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=254
This commit is contained in:
Dr. Werner Fink 2017-08-01 10:10:29 +00:00 committed by Git OBS Bridge
parent f97620fca6
commit dc58f366bb
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 1 07:53:05 UTC 2017 - schwab@suse.de
- Define _GNU_SOURCE to request GNU extensions
-------------------------------------------------------------------
Wed Jun 28 07:56:00 UTC 2017 - nico.kruber@gmail.com

View File

@ -3269,11 +3269,7 @@ This package is required by the package texlive-biber-bin.
%endif
CC=gcc
CXX=g++
if grep -q _DEFAULT_SOURCE /usr/include/features.h ; then
XCFLAGS="$RPM_OPT_FLAGS -D_POSIX_C_SOURCE=200803L -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE"
else
XCFLAGS="$RPM_OPT_FLAGS -D_POSIX_C_SOURCE=200803L -D_XOPEN_SOURCE=600 -D_BSD_SOURCE"
fi
XCFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
XCXXFLAGS="$XCFLAGS"
cflags ()
{