From: Jérôme Benoit Date: Wed, 15 Mar 2017 10:45:22 +0000 (+0100) Subject: TP 13 exo1: Enable LTO and GOLD on all build types X-Git-Url: https://git.piment-noir.org/?p=TD_C.git;a=commitdiff_plain;h=709c39546ac5df7fd3154073fd40227ea4939826 TP 13 exo1: Enable LTO and GOLD on all build types Signed-off-by: Jérôme Benoit --- diff --git a/TP_13/exo1/Makefile b/TP_13/exo1/Makefile index 0e2661f..5d1b9ab 100644 --- a/TP_13/exo1/Makefile +++ b/TP_13/exo1/Makefile @@ -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 =