author | Rodrigo Campos
<rodrigo@sdfg.com.ar> 2014-01-20 15:57:47 UTC |
committer | Rodrigo Campos
<rodrigo@sdfg.com.ar> 2014-01-20 18:28:43 UTC |
parent | be8b9943ec87c7147887d296359ad153325fd180 |
Makefile | +3 | -0 |
diff --git a/Makefile b/Makefile index 26e732d..b7d13de 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,9 @@ CFLAGS += -Wall -Wstrict-prototypes -O3 ALL_CFLAGS += $(CFLAGS) -std=c99 -pedantic +# LFS support (LFS_LDFLAGS are not needed on Linux) +ALL_CFLAGS += $(shell getconf LFS_CFLAGS 2>/dev/null) + # This is needed for fallocate() and pread() ALL_CFLAGS += -D_GNU_SOURCE