File tree 1 file changed +1
-1
lines changed 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ which $CXX
9
9
echo $PATH
10
10
mkdir build
11
11
cd build
12
- cmake .. -DCMAKE_INSTALL_PREFIX=$( pwd) -DZIG_LIBC_LIB_DIR=$( dirname $( $CC -print-file-name=crt1.o) ) -DZIG_LIBC_INCLUDE_DIR=$( echo -n | $CC -E -x c - -v 2>&1 | grep -B1 " End of search list." | head -n1 | cut -c 2- | sed " s/ .*//" ) -DZIG_LIBC_STATIC_LIB_DIR=$( dirname $( $CC -print-file-name=crtbegin.o) )
12
+ cmake .. -DCMAKE_INSTALL_PREFIX=$( pwd) -DZIG_LIBC_LIB_DIR=$( dirname $( $CC -print-file-name=crt1.o) ) -DZIG_LIBC_INCLUDE_DIR=$( echo -n | $CC -E -x c - -v 2>&1 | grep -B1 " End of search list." | head -n1 | cut -c 2- | sed " s/ .*//" ) -DZIG_LIBC_STATIC_LIB_DIR=$( dirname $( $CC -print-file-name=crtbegin.o) ) -DZIG_FORCE_EXTERNAL_LLD=ON
13
13
make VERBOSE=1
14
14
make install
15
15
./zig build --build-file ../build.zig test
You can’t perform that action at this time.
0 commit comments