TP 13 exo1: Enable LTO and GOLD on all build types
[TD_C.git] / TP_13 / exo1 / Makefile
index 0e2661f1a1bf58e01246ab349ba383299ede1ad8..5d1b9ab13ddcbaee4388fb9778161cfedb6305ac 100644 (file)
@@ -21,8 +21,8 @@ BINARY_NAME=exo1
 SRC_PATH:=src
 LIBRARY_NAME=libexo1
 LIBRARY_PATH:=lib
-#BUILD_TYPE=debug
-BUILD_TYPE=release
+BUILD_TYPE=debug
+#BUILD_TYPE=release
 
 # ====================================
 # DO NOT CHANGE STUFF BEYOND THIS LINE
@@ -42,8 +42,8 @@ BUILDDIR := .build/debug
 DEBUG_FLAG = -g
 STRIP_FLAG =
 OPTI_FLAG = -O0
-LTO_SUPPORT = no
-GOLD_SUPPORT = no
+LTO_SUPPORT = yes
+GOLD_SUPPORT = yes
 else
 BUILDDIR := .build/release
 DEBUG_FLAG =