master
Allen Webster 2020-02-19 20:55:01 -08:00
parent 57f7d41ddf
commit 1f2b9c7541
2 changed files with 1 additions and 3 deletions

View File

@ -294,7 +294,7 @@ build(Arena *arena, u32 flags, u32 arch, char *code_path, char **code_files, cha
"-Wno-write-strings " \
"-D_GNU_SOURCE -fPIC " \
"-fno-threadsafe-statics -pthread " \
"-Wno-unused-result" \
"-Wno-unused-result " \
"-std=c++11"
#define GCC_LIBS_COMMON \
@ -374,7 +374,6 @@ build(Arena *arena, u32 flags, u32 arch, char *code_path, char **code_files, cha
fm_finish_build_line(&line);
Temp_Dir temp = fm_pushdir(out_path);
printf("g++ %s -o %s", line.build_options, out_file);
systemf("g++ %s -o %s", line.build_options, out_file);
fm_popdir(temp);
}

View File

@ -29,7 +29,6 @@ FLAGS="-D_GNU_SOURCE -fPIC -fpermissive $BUILD_MODE"
INCLUDES="-I$SRC_ROOT -I$CUSTOM_ROOT"
# Execute
echo g++ $WARNINGS $FLAGS $INCLUDES "$BIN_ROOT/4ed_build.cpp" -g -o "$BUILD_ROOT/build"
g++ $WARNINGS $FLAGS $INCLUDES "$BIN_ROOT/4ed_build.cpp" -g -o "$BUILD_ROOT/build"
pushd "$SRC_ROOT"
"$BUILD_ROOT/build"