glib2: Add -D_BSD_SOURCE, it's now needed.

Fixes #250.
This commit is contained in:
Augustin Cavalier
2015-06-30 11:33:12 -04:00
parent 06349a386b
commit 0087abce20

View File

@@ -24,7 +24,7 @@ COPYRIGHT="1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
2008-2010 Collabora Ltd. 2008-2010 Collabora Ltd.
1995-2010 Several others" 1995-2010 Several others"
REVISION="4" REVISION="5"
ARCHITECTURES="x86_gcc2 x86 x86_64" ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86" SECONDARY_ARCHITECTURES="x86_gcc2 x86"
@@ -88,7 +88,7 @@ BUILD()
libtoolize --force --copy --install libtoolize --force --copy --install
aclocal aclocal
autoconf autoconf
runConfigure ./configure --disable-maintainer-mode runConfigure ./configure --disable-maintainer-mode CFLAGS=-D_BSD_SOURCE
# There seem to be a problem with libtool, and without this some libraries # There seem to be a problem with libtool, and without this some libraries
# would not be found during the build. # would not be found during the build.