mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Pass CFLAGS to the linker
Fixes problems with compiling in gprof support reported by witek.
This commit is contained in:
parent
c517dbf101
commit
ac9c6ce71f
@ -33,7 +33,7 @@ quiet_cmd_ld_objs = " [LD] $(RELPATH)$@"
|
||||
cmd_ld_objs = $(LD) -r -o $@ $(filter $(OBJS), $^)
|
||||
|
||||
quiet_cmd_link = ' [LINK] $(RELPATH)$@'
|
||||
cmd_link = $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
|
||||
cmd_link = $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
|
||||
|
||||
# Recursive make
|
||||
quiet_cmd_recmake = "[MAKE $$target] $(RELPATH)$$subdir"
|
||||
|
Loading…
Reference in New Issue
Block a user