mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/slurm: remove -O0 compile option
I was not able to reproduce the commented issue. if -Os is broken, then we need to troubleshoot it and fix it.
This commit is contained in:
parent
afa66c0780
commit
64e758e582
@ -21,12 +21,9 @@ build() {
|
||||
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
|
||||
fi
|
||||
|
||||
# Optimizations beyond -O0 result in the binary failing to execute past the help
|
||||
# screen. Upon execution, the failing binary will exit producing the message:
|
||||
# "Illegal instruction"
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_C_FLAGS="${CFLAGS/-Os/-O0} -Wno-aggressive-loop-optimizations" \
|
||||
-DCMAKE_C_FLAGS="${CFLAGS} -Wno-aggressive-loop-optimizations" \
|
||||
${CMAKE_CROSSOPTS}
|
||||
make
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user