version 1.64, 2013/01/07 12:39:37
|
version 1.65, 2013/01/21 10:00:40
|
|
|
FLAGS += -W -Wall -Wno-unused-parameter -Wno-unused-value -D_GNU_SOURCE \ | FLAGS += -W -Wall -Wno-unused-parameter -Wno-unused-value -D_GNU_SOURCE \ |
-DTHREAD_SAFE -D_REENTRANT -Wno-unused-function -Werror=unused-variable | -DTHREAD_SAFE -D_REENTRANT -Wno-unused-function -Werror=unused-variable |
else | else |
FLAGS += -W -Werror -Wall -Wno-unused -Wunused-variable -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT |
FLAGS += -W -Wall -Wno-unused -Wunused-variable |
|
# Starting with gcc 4.3 specific warnings can be reported as error |
|
# Enabling a specific selection of warnings to turn into errors |
|
ifeq ($(shell expr $(GCC_VERSION) '>=' 4.3), 1) |
|
FLAGS += -Werror=unused-variable |
endif | endif |
|
FLAGS += -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT |
|
endif |
|
|
|
|
|
|
|
|
|
|
##============================================================================== | ##============================================================================== |
## | ## |
## The DYNAMIC_FLAGS variable defines linker flags that only apply to shared | ## The DYNAMIC_FLAGS variable defines linker flags that only apply to shared |