standardize CFLAGS usage

This commit is contained in:
John Kerl 2015-09-26 21:55:14 -04:00
parent 4ed86eb45c
commit e0fe591d25
5 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
SUBDIRS= lib cli stream input mapping output containers dsls experimental tools . unit_test reg_test
AM_CPPFLAGS= -I${srcdir}
AM_CFLAGS= -Wall -Werror -std=gnu99 -O3
AM_CFLAGS= -Wall -std=gnu99
bin_PROGRAMS= mlr
noinst_PROGRAMS= mlrg \
mlrp

View file

@ -11,8 +11,6 @@ MINOR:
* remove -Werror and -O3 from c/Makefile.am; make sure -O2 -g is the default; emphasize @mlrdoc
* mlrg_CFLAGS and mlrp_CFLAGS need ${AM_CFLAGS} at the end or they will just be ignored
* valgrind & UT cline/sline
* UTx4xN the format-parsers

View file

@ -12,7 +12,7 @@ check_PROGRAMS = test_mlrutil \
test_join_bucket_keeper
AM_CPPFLAGS= -I${srcdir}/..
AM_CFLAGS= -Wall -Werror -std=gnu99 -O3
AM_CFLAGS= -Wall -std=gnu99
all_ldadd= \
../cli/libcli.la \

View file

@ -121,7 +121,7 @@ linked).
<tt>brew update &amp;&amp; brew install miller</tt>.
<p/> You may already have <tt>mlr</tt> available in your platform&rsquo;s
package manager on NetBSD, Arch Linux, or perhaps other distributions.
package manager on NetBSD, Debian Linux, Arch Linux, or perhaps other distributions.
<a id="Building_from_source"/><h1>Building from source</h1>
@ -144,6 +144,7 @@ package manager on NetBSD, Arch Linux, or perhaps other distributions.
<li/> <tt>./configure --prefix=$HOME/pkgs</tt>
<li/> <tt>./configure CC=clang</tt>
<li/> <tt>./configure --disable-shared</tt> (to make a statically linked executable)
<li/> <tt>./configure 'CFLAGS=-Wall -std=gnu99 -O3'</tt>
<li/> etc.
</ul>
<li/> <tt>make</tt> creates the <tt>c/mlr</tt> executable

View file

@ -34,6 +34,7 @@ package manager on NetBSD, Debian Linux, Arch Linux, or perhaps other distributi
<li/> <tt>./configure --prefix=$HOME/pkgs</tt>
<li/> <tt>./configure CC=clang</tt>
<li/> <tt>./configure --disable-shared</tt> (to make a statically linked executable)
<li/> <tt>./configure 'CFLAGS=-Wall -std=gnu99 -O3'</tt>
<li/> etc.
</ul>
<li/> <tt>make</tt> creates the <tt>c/mlr</tt> executable