mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-24 02:51:43 +01:00
Define default CFLAGS overridable by the environment
This commit is contained in:
parent
83210a83a4
commit
2729ca824d
3
Makefile
3
Makefile
@ -65,6 +65,9 @@ LIB_MANS := $(patsubst %,man/%,$(LIB_MANS))
|
||||
LIB_STATIC_OBJS := $(LIB_SRCS:%.c=%.o)
|
||||
LIB_SHARED_OBJS := $(LIB_SRCS:%.c=%.lo)
|
||||
|
||||
# Set default value for compilation
|
||||
CFLAGS ?= -g -Wall -Wextra -Wno-unused-variable
|
||||
|
||||
MK_CFLAGS := -Iinclude/ -include bsd/bsd.h -D_GNU_SOURCE -D__REENTRANT
|
||||
|
||||
prefix := /usr
|
||||
|
Loading…
x
Reference in New Issue
Block a user