Dr. Werner Fink 2017-02-16 10:19:13 +00:00 committed by Git OBS Bridge
parent 817bfb6f24
commit 9cd4f3b914

View File

@ -123,7 +123,7 @@ Authors:
rm -f configure
%global optflags %{optflags} -funroll-loops -pipe -Wall
if grep -q _DEFAULT_SOURCE /usr/include/features.h ; then
CFLAGS="%{optflags} -D_DEFAULT_SOURCE"
CFLAGS="%{optflags} -D_GNU_SOURCE -D_DEFAULT_SOURCE"
else
CFLAGS="%{optflags} -D_GNU_SOURCE -D_SVID_SOURCE"
fi