From 1f2b9c7541f3ba46c15dbfa13c872a46f17da6a3 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Wed, 19 Feb 2020 20:55:01 -0800 Subject: [PATCH] ETC ETC --- bin/4ed_build.cpp | 3 +-- bin/build-linux.sh | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/4ed_build.cpp b/bin/4ed_build.cpp index 1a861639..55741d53 100644 --- a/bin/4ed_build.cpp +++ b/bin/4ed_build.cpp @@ -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); } diff --git a/bin/build-linux.sh b/bin/build-linux.sh index 3099577d..bce5f56f 100644 --- a/bin/build-linux.sh +++ b/bin/build-linux.sh @@ -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"