summaryrefslogtreecommitdiff
path: root/pwd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pwd/Makefile')
-rw-r--r--pwd/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/pwd/Makefile b/pwd/Makefile
index 05426a4cb1..522e5721d6 100644
--- a/pwd/Makefile
+++ b/pwd/Makefile
@@ -34,9 +34,9 @@ include ../Rules
ifeq ($(have-thread-library),yes)
-CFLAGS-getpwent_r.c = -fexceptions
-CFLAGS-getpwent.c = -fexceptions
-CFLAGS-getpw.c = -fexceptions
-CFLAGS-fgetpwent_r.c = $(libio-mtsafe)
+CFLAGS-getpwent_r.c += -fexceptions
+CFLAGS-getpwent.c += -fexceptions
+CFLAGS-getpw.c += -fexceptions
+CFLAGS-fgetpwent_r.c += $(libio-mtsafe)
endif