diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 517702e9ccfbb0f7b619e5220dd984c183e34d40..1f30d7e91d109b4cc2a524e57e1e8ee6100f7413 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,6 +19,11 @@ before_script: *-clang) ln -s /usr/lib/llvm4/lib/LLVMgold.so /usr/lib/LLVMgold.so;; *) ;; esac + - echo USE_RAMDISK=0 >> build.conf + - case "$CI_BUILD_NAME" in + *-clang) echo USE_LTO=1 >> build.conf;; + *) echo USE_LTO=0 >> build.conf;; + esac #========== Stage build ==========