From df2df3e0ffd508a3f12fdc33a998bb04c470e985 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 3fb0acba3..5624b1e49 100644 --- a/Makefile +++ b/Makefile @@ -64,7 +64,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.