Changeset 8e2154e7 in mainline for uspace/Makefile.common
- Timestamp:
- 2018-07-05T21:41:25Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 74aee0c
- Parents:
- a37eeb9
- git-author:
- Dzejrou <dzejrou@…> (2018-06-28 17:36:35)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:25)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile.common
ra37eeb9 r8e2154e7 237 237 238 238 # Flags for the compilation of C++ code. 239 CPPFLAGS = $(LIBCPP_INCLUDES_FLAGS) $(INCLUDES_FLAGS) -O$(OPTIMIZATION) $(CPP_ARCHSPEC) \ 239 CXX_BASE_LIBS = $(LIBCPP_PREFIX)/libcpp.a $(BASE_LIBS) 240 CXXFLAGS = $(LIBCPP_INCLUDES_FLAGS) $(INCLUDES_FLAGS) -O$(OPTIMIZATION) $(COMMON_CFLAGS) \ 240 241 -imacros $(CONFIG_HEADER) \ 241 242 -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \ … … 322 323 endif 323 324 325 ifneq ($(CXX_BINARY),) 326 $(CXX_BINARY): $(LINKER_SCRIPT) $(OBJECTS) $(LIBTAGS) $(CXX_BASE_LIBS) 327 $(CXX) $(CXXFLAGS) $(LDFLAGS) $(EXTRA_LDFLAGS) -T $(LINKER_SCRIPT) -Wl,-Map,$@.map -o $@ $(OBJECTS) $(LIBARGS) $(CXX_BASE_LIBS) 328 endif 329 324 330 ifneq ($(TEST_BINARY),) 325 331 $(TEST_BINARY): $(LINKER_SCRIPT) $(TEST_OBJECTS) $(TEST_BINARY_LIBS) $(LIBTAGS) $(BASE_LIBS) … … 357 363 358 364 %.o: %.cpp | depend 359 $(C PP) $(CPPFLAGS) $(EXTRA_CPPFLAGS) -c $< -o $@365 $(CXX) $(CXXFLAGS) $(EXTRA_CXXFLAGS) -c $< -o $@ 360 366 361 367 %.test.o: %.c | depend … … 372 378 373 379 %.lo: %.cpp | depend 374 $(C PP) $(CPPFLAGS) $(EXTRA_CPPFLAGS) -c $< -o $@380 $(CXX) $(CXXFLAGS) $(EXTRA_CXXFLAGS) -c $< -o $@ 375 381 376 382 -include $(DEPENDS)
Note:
See TracChangeset
for help on using the changeset viewer.