blob: b4fb190bba4e359a5fe88b8787a65c7991f67016 [file] [log] [blame]
ifeq ($(subdir),socket)
CFLAGS-recv.c += -fexceptions
CFLAGS-send.c += -fexceptions
endif
ifeq ($(subdir),nptl)
CFLAGS-recv.c += -fexceptions
CFLAGS-send.c += -fexceptions
endif
ifeq ($(subdir),signal)
# sigaction.c defines static functions in asms and refers to them from
# C code, resulting in "'restore_rt' used but never defined" (which
# has no corresponding warning option to allow it to be disabled with
# diagnostic pragmas).
CFLAGS-sigaction.c += -Wno-error
endif
ifeq ($(subdir),nptl)
CFLAGS-sigaction.c += -Wno-error
endif