Remove distribution specific variables in Makefile
Remove everything related to RPM_OPT_FLAGS variable in Makefile.
This commit is contained in:
parent
b455f99538
commit
d0e37451f5
6
Makefile
6
Makefile
|
@ -15,12 +15,8 @@
|
|||
#
|
||||
|
||||
VERSION = $(shell awk 'END { print $$1 }' VERSION)
|
||||
CFLAGS = -Wall -Wextra -DVERSION=\"$(VERSION)\" $(RPM_OPT_FLAGS)
|
||||
CFLAGS = -Wall -Wextra -DVERSION=\"$(VERSION)\"
|
||||
|
||||
ifeq ($(RPM_OPT_FLAGS),)
|
||||
CFLAGS += -g
|
||||
LDFLAGS += -g
|
||||
endif
|
||||
|
||||
pstack : pstack.c
|
||||
$(CC) $(CFLAGS) -o pstack pstack.c
|
||||
|
|
Loading…
Reference in New Issue