From f630830b60c5a6e27df26aa333713617ecbf880f Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 17 Mar 2008 18:23:12 +0100 Subject: [PATCH] [BUILD] Replace hardcoded 'LD = gcc' with 'LD = $(CC)' haproxy relies on linking the binary using gcc, so there is no real need to hardcode both (CC and LD). Setting 'LD = $(CC)' will make the build system a bit more cross-compile friendly because only the right cross-compiler has to be passed via make. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 29006691c0..f9696df660 100644 --- a/Makefile +++ b/Makefile @@ -81,7 +81,7 @@ CPU = generic #### Toolchain options. # GCC is normally used both for compiling and linking. CC = gcc -LD = gcc +LD = $(CC) #### Debug flags (typically "-g"). # Those flags only feed CFLAGS so it is not mandatory to use this form.