We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba40b58 commit 738f7eaCopy full SHA for 738f7ea
1 file changed
build-hnp/utils/Makefrag
@@ -11,6 +11,6 @@ export LD := $(OHOS_SDK_HOME)/native/llvm/bin/ld.lld
11
export AR := $(OHOS_SDK_HOME)/native/llvm/bin/llvm-ar
12
export RANLIB := $(OHOS_SDK_HOME)/native/llvm/bin/llvm-ranlib
13
export STRIP := $(OHOS_SDK_HOME)/native/llvm/bin/llvm-strip
14
-export CFLAGS := -I$(shell pwd)/../sysroot/include -Wno-int-conversion
15
-export CXXFLAGS := -I$(shell pwd)/../sysroot/include
+export CFLAGS := -I$(shell pwd)/../sysroot/include -Wno-int-conversion -O2
+export CXXFLAGS := -I$(shell pwd)/../sysroot/include -O2
16
export LDFLAGS := -L$(shell pwd)/../sysroot/lib
0 commit comments