Changeset 2421 for trunk/Config.kmk
- Timestamp:
- Oct 17, 2010, 11:27:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r2413 r2421 96 96 PATH_GNUMAKE_SRC ?= $(PATH_ROOT)/src/kmk 97 97 98 99 # 100 # Various platform specific hacks. 101 # 102 ifn1of ($(KBUILD_TARGET), openbsd) 103 GCC_Wextra = -Wextra 104 endif 105 if1of ($(KBUILD_TARGET), openbsd) 106 TOOL_FLEX_LEX = gflex 107 endif 98 108 99 109 # … … 179 189 # Template for building commandline tools. 180 190 # 181 TEMPLATE_BIN = Command line binary191 TEMPLATE_BIN = Command line binary 182 192 183 193 TEMPLATE_BIN_INCS = $(PATH_ROOT)/src/lib … … 224 234 TEMPLATE_BIN_CFLAGS = -g -mmacosx-version-min=10.$(KBUILD_MACOSX_TARGET_VERSION) -isysroot $(KBUILD_MACOSX_SDK) 225 235 ifeq ($(USER),bird) 226 TEMPLATE_BIN_CFLAGS += -Wall -Wextra-pedantic -Wno-unused-parameter236 TEMPLATE_BIN_CFLAGS += -Wall $(GCC_Wextra) -pedantic -Wno-unused-parameter 227 237 TEMPLATE_BIN_DEFS += NO_ENUM_BITFIELDS 228 238 endif … … 285 295 TEMPLATE_BIN_CFLAGS = -g 286 296 ifeq ($(USER),bird) 287 TEMPLATE_BIN_CFLAGS += -Wall -Wextra-pedantic -Wno-unused-parameter297 TEMPLATE_BIN_CFLAGS += -Wall $(GCC_Wextra) -pedantic -Wno-unused-parameter 288 298 TEMPLATE_BIN_DEFS += NO_ENUM_BITFIELDS 289 299 endif … … 317 327 318 328 # 329 # Template for building threaded binaries. 330 # 331 TEMPLATE_BIN-THREADED = Threaded command line binary 332 TEMPLATE_BIN-THREADED_EXTENDS = BIN 333 TEMPLATE_BIN-THREADED_EXTENDS_BY = appending 334 if1of ($(KBUILD_TARGET), dragonfly freebsd openbsd) 335 TEMPLATE_BIN-THREADED_LIBS = pthread 336 endif 337 338 # 319 339 # Template for building libraries for the tools. 320 340 #
Note:
See TracChangeset
for help on using the changeset viewer.