mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-03 20:39:41 -05:00
[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.
This commit is contained in:
parent
39f7e6d516
commit
f630830b60
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue