[01/18] Do not disable _FORTIFY_SOURCE

Submitted by Kirill A. Shutemov on Dec. 20, 2009, 1:39 a.m.

Details

Message ID 1261273167-3240-1-git-send-email-kirill@shutemov.name
State New
Headers show

Commit Message

Kirill A. Shutemov Dec. 20, 2009, 1:39 a.m.
Let's fix code instead!

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
---
 configure |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Comments

Blue Swirl Dec. 20, 2009, 11:38 a.m.
On Sun, Dec 20, 2009 at 1:39 AM, Kirill A. Shutemov
<kirill@shutemov.name> wrote:
> Let's fix code instead!

Nice idea. BTW this can't be the first patch in the series, or
bisectability will be broken.

Patch hide | download patch | download mbox

diff --git a/configure b/configure
index d815c7a..17f3d42 100755
--- a/configure
+++ b/configure
@@ -97,7 +97,6 @@  CFLAGS="-g $CFLAGS"
 QEMU_CFLAGS="-Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes $QEMU_CFLAGS"
 QEMU_CFLAGS="-Wstrict-prototypes -Wredundant-decls $QEMU_CFLAGS"
 QEMU_CFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $QEMU_CFLAGS"
-QEMU_CFLAGS="-U_FORTIFY_SOURCE $QEMU_CFLAGS"
 QEMU_CFLAGS="-I. -I\$(SRC_PATH) $QEMU_CFLAGS"
 LDFLAGS="-g $LDFLAGS"