mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 13:51:26 +02: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
2
Makefile
2
Makefile
@ -81,7 +81,7 @@ CPU = generic
|
|||||||
#### Toolchain options.
|
#### Toolchain options.
|
||||||
# GCC is normally used both for compiling and linking.
|
# GCC is normally used both for compiling and linking.
|
||||||
CC = gcc
|
CC = gcc
|
||||||
LD = gcc
|
LD = $(CC)
|
||||||
|
|
||||||
#### Debug flags (typically "-g").
|
#### Debug flags (typically "-g").
|
||||||
# Those flags only feed CFLAGS so it is not mandatory to use this form.
|
# Those flags only feed CFLAGS so it is not mandatory to use this form.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user