Explorar o código

pass -flto to CXX compiler

Waldemar Brodkorb %!s(int64=15) %!d(string=hai) anos
pai
achega
7ff3b1b184
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      mk/vars.mk

+ 1 - 0
mk/vars.mk

@@ -89,6 +89,7 @@ endif
 
 ifneq ($(ADK_TOOLCHAIN_GCC_USE_LTO),)
 TARGET_CFLAGS+=		-flto
+TARGET_CXXFLAGS+=	-flto
 TARGET_LDFLAGS+=	-flto
 endif