removed -static arg (can't compile on linux)

This commit is contained in:
Timerix22 2024-05-02 08:45:27 +05:00
parent 306419cd65
commit f9bd8c1184

View File

@ -70,7 +70,7 @@ case "$TASK" in
# -flto applies more optimizations across object files
# -flto=auto is needed to multithreaded copilation
# -fuse-linker-plugin is required to use static libs with lto, it strips away all
C_ARGS="-O2 -flto=auto -fuse-linker-plugin -static"
C_ARGS="-O2 -flto=auto -fuse-linker-plugin"
#-fprofile-use -fprofile-prefix-path=$(realpath $OBJDIR)/objects
CPP_ARGS="$C_ARGS"
LINKER_ARGS="$CPP_ARGS $LINKER_LIBS"