From patchwork Fri Feb 8 23:30:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Kumlien X-Patchwork-Id: 2119101 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 62B8F3FD56 for ; Fri, 8 Feb 2013 23:34:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1947316Ab3BHXeJ (ORCPT ); Fri, 8 Feb 2013 18:34:09 -0500 Received: from mail.vapor.com ([83.220.149.2]:48621 "EHLO nitrogen.vapor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1947297Ab3BHXeI (ORCPT ); Fri, 8 Feb 2013 18:34:08 -0500 Received: from twilight.demius.net (c-297271d5.013-195-6c756e10.cust.bredbandsbolaget.se [213.113.114.41]) by nitrogen.vapor.com (Postfix) with ESMTPSA id 9C97D40C023 for ; Sat, 9 Feb 2013 00:34:06 +0100 (CET) Received: from lori.pomac.com (lori.local [10.0.0.13]) by twilight.demius.net (Postfix) with ESMTP id E24608E04E5; Sat, 9 Feb 2013 00:34:04 +0100 (CET) From: Ian Kumlien To: linux-btrfs@vger.kernel.org Cc: Ian Kumlien Subject: [PATCH] Btrfs-progs: -U_FORTIFY_SOURCE before -D Date: Sat, 9 Feb 2013 00:30:21 +0100 Message-Id: <1360366221-22703-1-git-send-email-pomac@demius.net> X-Mailer: git-send-email 1.8.1.2 X-Virus-Scanned: clamav-milter 0.97.6 at twilight.demius.net X-Virus-Status: Clean X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on twilight.pomac.com Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org My builds are cluttered with: :0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default] Which makes it hard to tell if something breaks or not. Signed-off-by: Ian Kumlien --- I don't know about you, but bilding with GCC 4.7.2 on gentoo, this is a issue. Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index afd6cb2..ae3abdc 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CC = gcc -AM_CFLAGS = -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 +AM_CFLAGS = -Wall -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 CFLAGS = -g -O1 objects = ctree.o disk-io.o radix-tree.o extent-tree.o print-tree.o \ root-tree.o dir-item.o file-item.o inode-item.o \