Changeset 9fb280c in mainline
- Timestamp:
- 2019-07-19T15:57:15Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9fe2fd7
- Parents:
- a949f4a
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-07-19 15:56:35)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-07-19 15:57:15)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/autotool.py
ra949f4a r9fb280c 306 306 307 307 common['CLANG'] = "%sclang" % prefix 308 common['CLANGXX'] = "%sclang++" % prefix 308 309 309 310 if (not path is None): 310 311 common['CLANG'] = "%s/%s" % (path, common['CLANG']) 312 common['CLANGXX'] = "%s/%s" % (path, common['CLANGXX']) 311 313 312 314 check_app([common['CLANG'], "--version"], "clang", details) … … 625 627 check_common(common, "CLANG") 626 628 common['CC'] = common['CLANG'] 629 common['CXX'] = common['CLANGXX'] 627 630 cc_autogen = common['CC'] + " -no-integrated-as" 628 631 629 632 if (config['INTEGRATED_AS'] == "yes"): 630 633 common['CC'] += " -integrated-as" 634 common['CXX'] += " -integrated-as" 631 635 632 636 if (config['INTEGRATED_AS'] == "no"): 633 637 common['CC'] += " -no-integrated-as" 638 common['CXX'] += " -no-integrated-as" 634 639 635 640 # Find full path to libgcc -
uspace/Makefile.common
ra949f4a r9fb280c 189 189 -Wextra \ 190 190 -Wno-unused-parameter \ 191 -Wmissing-prototypes \192 191 -Wwrite-strings \ 193 192 -Werror-implicit-function-declaration \ 194 -Wsystem-headers \195 193 -Wunknown-pragmas \ 196 194 -Wa,--fatal-warnings 195 196 ifneq ($(COMPILER),clang) 197 DEFAULT_CFLAGS += -Wmissing-prototypes -Wsystem-headers 198 endif 197 199 198 200 # XXX: -fno-builtin-strftime is for a seemingly spurious format warning. … … 239 241 -fno-common \ 240 242 -fdebug-prefix-map=$(realpath $(ROOT_PATH))=. 243 244 ifeq ($(COMPILER),clang) 245 COMMON_CFLAGS += -ffreestanding -nostdlibinc -Wno-unused-command-line-argument 246 endif 241 247 242 248 # TODO: Use a different name.
Note:
See TracChangeset
for help on using the changeset viewer.