From 64e758e582bc124c5210768d2aff100cf0d5e306 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 17 Jul 2018 20:17:12 +0000 Subject: 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. --- testing/slurm/APKBUILD | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'testing/slurm') diff --git a/testing/slurm/APKBUILD b/testing/slurm/APKBUILD index 4b61db8a59..b08e54aced 100644 --- a/testing/slurm/APKBUILD +++ b/testing/slurm/APKBUILD @@ -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 } -- cgit v1.2.3