Skip to content

Commit

Permalink
Consistency in CFLAGS / CPPFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Feb 19, 2021
1 parent a1059af commit 89615fc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@ openfortivpn_SOURCES = src/config.c src/config.h src/hdlc.c src/hdlc.h \
src/xml.h src/userinput.c src/userinput.h \
src/openssl_hostname_validation.c \
src/openssl_hostname_validation.h
openfortivpn_CFLAGS = -Wall -pedantic
openfortivpn_CPPFLAGS = -DSYSCONFDIR=\"$(sysconfdir)\" \
-DPPP_PATH=\"@PPP_PATH@\" \
-DNETSTAT_PATH=\"@NETSTAT_PATH@\" \
-DRESOLVCONF_PATH=\"@RESOLVCONF_PATH@\" \
-DREVISION=\"@REVISION@\"

openfortivpn_CPPFLAGS += $(OPENSSL_CFLAGS) $(LIBSYSTEMD_CFLAGS)
openfortivpn_CFLAGS = -Wall -pedantic $(OPENSSL_CFLAGS) $(LIBSYSTEMD_CFLAGS)
openfortivpn_LDADD = $(OPENSSL_LIBS) $(LIBSYSTEMD_LIBS)

PATHFILES =
Expand Down

0 comments on commit 89615fc

Please sign in to comment.