mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-21 02:23:20 +00:00
standardize CFLAGS usage
This commit is contained in:
parent
4ed86eb45c
commit
e0fe591d25
5 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ linked).
|
|||
<tt>brew update && brew install miller</tt>.
|
||||
|
||||
<p/> You may already have <tt>mlr</tt> available in your platform’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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue