diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-06-13 12:42:52 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-06-13 12:42:52 +0200 |
commit | f6f5f31067cdee2d7003d8209361ac9e5b6975c5 (patch) | |
tree | c967ca817c31fd5681032d1c545f0c812aabb236 /cppbuild.cc | |
parent | 6bcbf18a6a67707c13d66b96770c8b210a45b9f4 (diff) |
Use vfork/exec instead of system for compiler invocation.
Diffstat (limited to 'cppbuild.cc')
-rw-r--r-- | cppbuild.cc | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/cppbuild.cc b/cppbuild.cc index 77ed1f3..ae6fd8d 100644 --- a/cppbuild.cc +++ b/cppbuild.cc @@ -138,10 +138,27 @@ BuildConfiguration configs() }, // cxx flags - "-DUI_X11 -g -Wall -Werror -std=c++11 -Idrumgizmo/getoptpp -Idrumgizmo/ -Idrumgizmo/hugin -Idrumgizmo/plugingui/ -Idrumgizmo/src/ -Idrumgizmo/zita-resampler/libs -Idrumgizmo/pugixml/src", + { + "-DUI_X11", + "-g", + "-Wall", + "-Werror", + "-std=c++11", + "-Idrumgizmo/getoptpp", + "-Idrumgizmo/", + "-Idrumgizmo/hugin", + "-Idrumgizmo/plugingui/", + "-Idrumgizmo/src/", + "-Idrumgizmo/zita-resampler/libs", + "-Idrumgizmo/pugixml/src", + }, // c flags - "-g -Wall -Werror", + { + "-g", + "-Wall", + "-Werror", + }, // linker flags "-lm -lX11 -lXext -pthread -lsndfile", |