瀏覽代碼

Compile with -Oodfa to get better warnings

FPK 3 年之前
父節點
當前提交
3f26551c42
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      .gitlab-ci.yml

+ 2 - 2
.gitlab-ci.yml

@@ -13,12 +13,12 @@ compiler-fullcycle-job:
   stage: compilercycle
   stage: compilercycle
   script:
   script:
     - cd compiler
     - cd compiler
-    - make fullcycle -j 4
+    - make fullcycle -j 4 "OPT=-Oodfa"
 
 
 build-and-test-job:
 build-and-test-job:
   stage: buildandtest
   stage: buildandtest
   script:
   script:
-    - make -j 4 all OS_TARGET=linux CPU_TARGET=x86_64 FPMAKEOPT="-T 4"
+    - make -j 4 all OS_TARGET=linux CPU_TARGET=x86_64 FPMAKEOPT="-T 4" "OPT=-Oodfa"
     - FPC_SRC=$(pwd)
     - FPC_SRC=$(pwd)
     - FPC_COMPILER=$FPC_SRC/compiler/ppcx64
     - FPC_COMPILER=$FPC_SRC/compiler/ppcx64
     - cd tests
     - cd tests