aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-07-21 09:40:22 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-07-21 09:40:22 +0200
commitfb3875d3ae14bca4ab9869ca340df2ee63673400 (patch)
tree5aaa314407ebb4723babaf2d0efd914fece04210
parenta36edab98434100422550d7271e54a723350ee38 (diff)
downloadnissy-core-fb3875d3ae14bca4ab9869ca340df2ee63673400.tar.gz
nissy-core-fb3875d3ae14bca4ab9869ca340df2ee63673400.zip
Fix debug c++ build; disable debug python build
Diffstat (limited to '')
-rwxr-xr-xbuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/build b/build
index 47f62e4..98f227e 100755
--- a/build
+++ b/build
@@ -265,8 +265,12 @@ build_python() {
265 echo "Cannot build python module" 265 echo "Cannot build python module"
266 exit 1 266 exit 1
267 fi 267 fi
268 if [ "$debug" = "yes" ]; then
269 echo "Cannot build Python library in debug mode"
270 exit 1
271 fi
268 build_nissy || exit 1 272 build_nissy || exit 1
269 run $CC $PYCFLAGS $WFLAGS $PYTHON3_INCLUDES $(odflags) -shared \ 273 run $CC $PYCFLAGS $WFLAGS $PYTHON3_INCLUDES $OFLAGS -shared \
270 -o nissy_python_module.so nissy.o python/nissy_module.c 274 -o nissy_python_module.so nissy.o python/nissy_module.c
271} 275}
272 276
@@ -278,7 +282,7 @@ build_cpp() {
278 fi 282 fi
279 283
280 build_nissy || exit 1 284 build_nissy || exit 1
281 run $CXX -std=c++20 -o runcpp cpp/nissy.cpp nissy.o $@ 285 run $CXX $(odflags) -std=c++20 -o runcpp cpp/nissy.cpp nissy.o $@
282 run ./runcpp 286 run ./runcpp
283} 287}
284 288

Generated with cgit - Back to sebastiano.tronto.net