From 5da99af851a702374c6f18f39af8c7be19edd3e6 Mon Sep 17 00:00:00 2001 From: Alexey Gladkov Date: Sat, 23 Mar 2013 21:51:21 +0400 Subject: [PATCH] Do not use _GNU_SOURCE Signed-off-by: Alexey Gladkov --- src/Makefile.am | 1 + src/libkeymap/Makefile.am | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index 9f12112..e9ed050 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,6 +2,7 @@ AM_CPPFLAGS = \ -I$(srcdir)/libkeymap -I$(builddir)/libkeymap \ -I$(srcdir)/libkeymap/keymap -I$(builddir)/libkeymap/keymap \ -DDATADIR=\"$(datadir)\" -DLOCALEDIR=\"$(localedir)\" \ + -U_GNU_SOURCE -D_FORTIFY_SOURCE=2 \ -funit-at-a-time SUBDIRS = vlock libkeymap diff --git a/src/libkeymap/Makefile.am b/src/libkeymap/Makefile.am index ca7fb41..ad3699f 100644 --- a/src/libkeymap/Makefile.am +++ b/src/libkeymap/Makefile.am @@ -1,6 +1,7 @@ AM_CPPFLAGS = \ -I$(srcdir) -I$(builddir) -I$(srcdir)/.. -I$(builddir)/.. \ -DDATADIR=\"$(datadir)\" -DLOCALEDIR=\"$(localedir)\" \ + -U_GNU_SOURCE -D_FORTIFY_SOURCE=2 \ -funit-at-a-time headers = \ -- 2.7.4