diff options
author | Michele Calgaro <[email protected]> | 2018-10-11 22:48:35 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-10-11 22:48:35 +0900 |
commit | e2a3b92b2d841843b3a4d2910d103c514d9bad62 (patch) | |
tree | c12e778bcc6589c8bb4141670b0c02f4d3975560 /acinclude.m4 | |
parent | d454ce825d9cb3cea2af0c6e1c0997f17112aeb4 (diff) | |
download | kipi-plugins-e2a3b92b2d841843b3a4d2910d103c514d9bad62.tar.gz kipi-plugins-e2a3b92b2d841843b3a4d2910d103c514d9bad62.zip |
Replaced _BSD_SOURCE with _DEFAULT_SOURCE.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 624b393..30169ac 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -3222,8 +3222,8 @@ AC_DEFUN([AC_CHECK_COMPILERS], CXXFLAGS="-Wall -W -Wpointer-arith $CXXFLAGS" case $host in *-*-linux-gnu) - CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS" - CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts $CXXFLAGS" + CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_DEFAULT_SOURCE $CFLAGS" + CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_DEFAULT_SOURCE -Wcast-align -Wchar-subscripts $CXXFLAGS" KDE_CHECK_COMPILER_FLAG(Wmissing-format-attribute, [CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"]) KDE_CHECK_C_COMPILER_FLAG(Wmissing-format-attribute, [CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"]) ;; |