removed -static arg (can't compile on linux)
This commit is contained in:
parent
306419cd65
commit
f9bd8c1184
@ -70,7 +70,7 @@ case "$TASK" in
|
|||||||
# -flto applies more optimizations across object files
|
# -flto applies more optimizations across object files
|
||||||
# -flto=auto is needed to multithreaded copilation
|
# -flto=auto is needed to multithreaded copilation
|
||||||
# -fuse-linker-plugin is required to use static libs with lto, it strips away all
|
# -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
|
#-fprofile-use -fprofile-prefix-path=$(realpath $OBJDIR)/objects
|
||||||
CPP_ARGS="$C_ARGS"
|
CPP_ARGS="$C_ARGS"
|
||||||
LINKER_ARGS="$CPP_ARGS $LINKER_LIBS"
|
LINKER_ARGS="$CPP_ARGS $LINKER_LIBS"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user