limine-install: Pass LDFLAGS to CC
This commit is contained in:
parent
419d4934db
commit
d510a29045
@ -40,6 +40,8 @@ export AWK
|
||||
|
||||
CFLAGS ?= @CFLAGS@
|
||||
export CFLAGS
|
||||
LDFLAGS ?= @LDFLAGS@
|
||||
export LDFLAGS
|
||||
|
||||
LIMINE_CFLAGS ?= @LIMINE_CFLAGS@
|
||||
export LIMINE_CFLAGS
|
||||
|
@ -2,7 +2,6 @@ CC ?= cc
|
||||
INSTALL ?= ./install-sh
|
||||
|
||||
PREFIX ?= /usr/local
|
||||
DESTDIR ?=
|
||||
|
||||
CFLAGS ?= -g -O2 -pipe -Wall -Wextra
|
||||
|
||||
@ -35,4 +34,4 @@ clean:
|
||||
rm -f limine-install limine-install.exe
|
||||
|
||||
limine-install: limine-install.c
|
||||
$(CC) $(CFLAGS) -std=c11 limine-install.c -o $@
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -std=c11 limine-install.c -o $@
|
||||
|
Loading…
Reference in New Issue
Block a user