From c485e4d2cce71139eb914797d862bf6d373a4684 Mon Sep 17 00:00:00 2001 From: Marcus Shawcroft Date: Wed, 14 Nov 2012 12:35:10 +0000 Subject: [PATCH] Adding missing -fexception CFLAGS --- ChangeLog | 6 ++++++ io/Makefile | 2 ++ misc/Makefile | 1 + nptl/ChangeLog | 5 +++++ nptl/Makefile | 5 +++++ posix/Makefile | 1 + 6 files changed, 20 insertions(+) diff --git a/ChangeLog b/ChangeLog index 591bfc07ea..f5a3645fb3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-11-14 Marcus Shawcroft + + * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define. + * misc/Makefile (CFLAGS-select.c): Define. + * posix/Makefile (CFLAGS-pause.c): Define. + 2012-11-13 David S. Miller * crypt/Makefile: Move test targets after toplevel Rules diff --git a/io/Makefile b/io/Makefile index b076e4d863..a2d6a7af3b 100644 --- a/io/Makefile +++ b/io/Makefile @@ -73,6 +73,8 @@ tests := test-utime test-stat test-stat2 test-lfs tst-getcwd \ include ../Rules +CFLAGS-open.c = -fexceptions -fasynchronous-unwind-tables +CFLAGS-open64.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-fcntl.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-poll.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-ppoll.c = -fexceptions -fasynchronous-unwind-tables diff --git a/misc/Makefile b/misc/Makefile index 4cb7f24e6c..78a3382058 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -81,6 +81,7 @@ ifeq ($(run-built-tests),yes) tests: $(objpfx)tst-error1-mem endif +CFLAGS-select.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-tsearch.c = $(uses-callbacks) CFLAGS-lsearch.c = $(uses-callbacks) CFLAGS-pselect.c = -fexceptions diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 93e994669d..48aa6da1ad 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,8 @@ +2012-11-14 Marcus Shawcroft + + * Makefile (CFLAGS-open.c, CFLAGS-open64.c, CFLAGS-pause.c) + (CFLAGS-recv.c, CFLAGS-send.c): Define. + 2012-11-06 Chris Metcalf * tst-sem14.c (TIMEOUT): Set timeout to 10 seconds. diff --git a/nptl/Makefile b/nptl/Makefile index 9d777734a6..316fbaea63 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -191,6 +191,11 @@ CFLAGS-sigwait.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-msgrcv.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-msgsnd.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-tcdrain.c = -fexceptions -fasynchronous-unwind-tables +CFLAGS-open.c = -fexceptions -fasynchronous-unwind-tables +CFLAGS-open64.c = -fexceptions -fasynchronous-unwind-tables +CFLAGS-pause.c = -fexceptions -fasynchronous-unwind-tables +CFLAGS-recv.c = -fexceptions -fasynchronous-unwind-tables +CFLAGS-send.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-pt-system.c = -fexceptions diff --git a/posix/Makefile b/posix/Makefile index 853152ea99..80fbf20321 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -135,6 +135,7 @@ $(objpfx)config-name.h: $(..)scripts/config-uname.sh $(common-objpfx)config.make CFLAGS-regex.c = -Wno-strict-prototypes CFLAGS-getaddrinfo.c = -DRESOLVER -fexceptions +CFLAGS-pause.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-pread.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-pread64.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-pwrite.c = -fexceptions -fasynchronous-unwind-tables