public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] remove _FORTIFY_SOURCE=2 from default CFLAGS
@ 2009-07-04  8:14 Filippo Giunchedi
  2009-07-04 16:14 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Filippo Giunchedi @ 2009-07-04  8:14 UTC (permalink / raw)
  To: linux-bluetooth

otherwise --disable-fortify has no effect and the default is
--enable-fortify anyway
---
 acinclude.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/acinclude.m4 b/acinclude.m4
index 479d3cd..47a9453 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -12,7 +12,7 @@ AC_DEFUN([AC_PROG_CC_PIE], [
 
 AC_DEFUN([COMPILER_FLAGS], [
 	if (test "${CFLAGS}" = ""); then
-		CFLAGS="-Wall -O2 -D_FORTIFY_SOURCE=2"
+		CFLAGS="-Wall -O2"
 	fi
 	if (test "$USE_MAINTAINER_MODE" = "yes"); then
 		CFLAGS+=" -Werror -Wextra"
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] remove _FORTIFY_SOURCE=2 from default CFLAGS
  2009-07-04  8:14 [PATCH] remove _FORTIFY_SOURCE=2 from default CFLAGS Filippo Giunchedi
@ 2009-07-04 16:14 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2009-07-04 16:14 UTC (permalink / raw)
  To: Filippo Giunchedi; +Cc: linux-bluetooth

Hi Filippo,

> otherwise --disable-fortify has no effect and the default is
> --enable-fortify anyway

patch has been applied. Thanks.

Regards

Marcel



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-04 16:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-04  8:14 [PATCH] remove _FORTIFY_SOURCE=2 from default CFLAGS Filippo Giunchedi
2009-07-04 16:14 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox