fix -O flag

This commit is contained in:
lxsang 2019-11-18 14:07:43 +01:00
parent 94ab53febf
commit b07cffd28e
3 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
AUTOMAKE_OPTIONS = foreign AUTOMAKE_OPTIONS = foreign
# AM_CFLAGS = -g -O0
# check for system # check for system
#if LINUX #if LINUX
@ -11,7 +11,6 @@ AUTOMAKE_OPTIONS = foreign
AM_CPPFLAGS = -W -Wall -g -std=c99 -DCONFIG_FILE=\"$(sysconfdir)/antd-config.ini\" AM_CPPFLAGS = -W -Wall -g -std=c99 -DCONFIG_FILE=\"$(sysconfdir)/antd-config.ini\"
# dynamic library # dynamic library
lib_LTLIBRARIES = libantd.la lib_LTLIBRARIES = libantd.la
libantd_la_SOURCES = lib/ini.c \ libantd_la_SOURCES = lib/ini.c \

View File

@ -4,6 +4,7 @@ AC_INIT([antd], [1.0.4b], [xsang.le@gmail.com])
# Were going to use automake for this project # Were going to use automake for this project
AM_INIT_AUTOMAKE([subdir-objects]) AM_INIT_AUTOMAKE([subdir-objects])
: ${CFLAGS="-g -O0"}
# dependencies # dependencies
# C compiler # C compiler
AC_PROG_CC AC_PROG_CC

Binary file not shown.