aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
authorUwe Kleine-König <uwe@kleine-koenig.org>2017-10-04 15:26:03 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-11-06 06:01:39 +0100
commit8f34ac455a04bde6feb1258b679b190bf8fdabdf (patch)
treeddf4f0a90d2b1a79b93b0473b0dff7acc0ee25e8 /Makefile
parent2de9794815b122f79e2aada283e32e61ec3b94fe (diff)
downloadsparse-dev-8f34ac455a04bde6feb1258b679b190bf8fdabdf.tar.gz
build: drop -g from LDFLAGS
-g is a compiler option that is ignored by the linker. So it should be included in CFLAGS (it already is) but not LDFLAGS. Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 069dae6c..39b34f90 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,6 @@ OS = linux
CC = gcc
CFLAGS = -O2 -finline-functions -fno-strict-aliasing -g
CFLAGS += -Wall -Wwrite-strings
-LDFLAGS += -g
LD = gcc
AR = ar
PKG_CONFIG = pkg-config