Replace -Werror with -Wall
Treating warnings as error is useless if no warning is activated. Several build systems enable -Wall in the CLFAGS, which in combination with -Werror can trigger undesired build errors.
This commit is contained in:
parent
8be8fe1775
commit
c55429d7a5
@ -1,7 +1,7 @@
|
||||
include build/platform-arch.mk
|
||||
SHAREDLIBSUFFIX = dylib
|
||||
SHARED = -dynamiclib
|
||||
CFLAGS += -Werror -fPIC -DMACOS -DMT_ENABLED -MMD -MP
|
||||
CFLAGS += -Wall -fPIC -DMACOS -DMT_ENABLED -MMD -MP
|
||||
LDFLAGS += -lpthread
|
||||
ifeq ($(ASM_ARCH), x86)
|
||||
ASMFLAGS += --prefix _
|
||||
|
@ -1,6 +1,6 @@
|
||||
include build/platform-arch.mk
|
||||
SHAREDLIBSUFFIX = so
|
||||
CFLAGS += -Werror -fPIC -DLINUX -DMT_ENABLED -MMD -MP
|
||||
CFLAGS += -Wall -fPIC -DLINUX -DMT_ENABLED -MMD -MP
|
||||
LDFLAGS += -lpthread
|
||||
ifeq ($(ASM_ARCH), x86)
|
||||
ifeq ($(ENABLE64BIT), Yes)
|
||||
|
Loading…
x
Reference in New Issue
Block a user