1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2025-03-31 17:25:22 -04:00

Revert "Main: Automake.am: remove duplicate CFLAGS"

This reverts commit c20b98073c.
This commit is contained in:
Alex Kotov 2022-06-06 04:28:30 +03:00
parent 134caff449
commit d2befd712a
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -19,6 +19,13 @@ if ENABLE_WERROR
AM_CFLAGS += -Werror
endif
# TODO: DRY (configure.ac)
if ENABLE_FREESTANDING
AM_CFLAGS += -nostdlib -ffreestanding -fno-pic -fno-stack-protector
else
AM_CFLAGS += -fpic
endif
#######
# all #
#######