diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2022-02-01 11:02:04 +0200 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2022-02-01 11:02:04 +0200 |
commit | e739c5dccc0faf13cbddacd1950e203305aa4bab (patch) | |
tree | b608441f502ef2d788ceb45b5ce920788e2fd674 /configure.ac | |
parent | 814f9780536e480ae97c46121e64930a79a70e83 (diff) | |
download | foodtools-e739c5dccc0faf13cbddacd1950e203305aa4bab.tar.gz foodtools-e739c5dccc0faf13cbddacd1950e203305aa4bab.tar.bz2 foodtools-e739c5dccc0faf13cbddacd1950e203305aa4bab.zip |
Set default CFLAGS
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e7ff39d..704b0e2 100644 --- a/configure.ac +++ b/configure.ac @@ -5,7 +5,7 @@ AC_INIT([foodtools], [0.0.1]) # Safety checks in case user overwritten --srcdir -# AC_CONFIG_SRCDIR([src/food.c]) +AC_CONFIG_SRCDIR([src/food.c]) # Store the auxiliary build tools (e.g., install-sh, config.sub, config.guess) # in this dir (build-aux) @@ -16,6 +16,9 @@ AC_CONFIG_AUX_DIR([build-aux]) # ChangeLog, COPYING, AUTHORS, INSTALL, README etc. files. AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects dist-xz]) +# Set default cflags +: ${CFLAGS="-O3 -pedantic"} + # Check for C compiler AC_PROG_CC # We can add more checks in this section |