Skip to content

Commit ac4a155

Browse files
authored
Merge pull request TermonyHQ#88 from nanqube/patch-3
Update Makefile
2 parents 4a1eb4b + ff9025c commit ac4a155

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build-hnp/vkpeak/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ all: download/vkpeak
55
mkdir -p temp build/bin
66
cd temp && cp -vr ../download/vkpeak vkpeak-20250531
77
cd temp/vkpeak-20250531 && mkdir -p build
8-
cd temp/vkpeak-20250531/build && cmake ../ -DCMAKE_SYSTEM_PROCESSOR=aarch64 -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_C_COMPILER=$(OHOS_SDK_HOME)/native/llvm/bin/aarch64-unknown-linux-ohos-clang -DCMAKE_CXX_COMPILER=$(OHOS_SDK_HOME)/native/llvm/bin/aarch64-unknown-linux-ohos-clang++ CPPFLAGS="-I$(shell pwd)/../../sysroot/include -D_FORTIFY_SOURCE=2" LDFLAGS="-L$(shell pwd)/../../sysroot/lib" -DCMAKE_BUILD_TYPE=RelWithDebInfo
8+
cd temp/vkpeak-20250531/build && cmake ../ -DCMAKE_SYSTEM_PROCESSOR=aarch64 -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_C_COMPILER=$(OHOS_SDK_HOME)/native/llvm/bin/aarch64-unknown-linux-ohos-clang -DCMAKE_CXX_COMPILER=$(OHOS_SDK_HOME)/native/llvm/bin/aarch64-unknown-linux-ohos-clang++ -DCPPFLAGS="-I$(shell pwd)/../../sysroot/include -D_FORTIFY_SOURCE=2" -DLDFLAGS="-L$(shell pwd)/../../sysroot/lib" -DCMAKE_BUILD_TYPE=RelWithDebInfo
99
cd temp/vkpeak-20250531/build && make -j $(shell nproc)
1010
cd temp/vkpeak-20250531/build && cp -vf vkpeak $(shell pwd)/build/bin
1111
mkdir -p ../sysroot

0 commit comments

Comments
 (0)