diff options
| author | Cem Keylan <cem@ckyln.com> | 2021-01-02 17:36:33 +0300 | 
|---|---|---|
| committer | Cem Keylan <cem@ckyln.com> | 2021-01-02 17:36:33 +0300 | 
| commit | 5462dfe326177b8a00dc4e4c9b9e18eb2e75b7ef (patch) | |
| tree | db2c694db8bb7353b21ca2b62f2a3c5d883b61d2 | |
| parent | 8b637b2e223041c417129aebcd88be4551333917 (diff) | |
| download | otools-5462dfe326177b8a00dc4e4c9b9e18eb2e75b7ef.tar.gz | |
config.mk: saner default configuration
| -rw-r--r-- | config.mk | 14 | 
1 files changed, 6 insertions, 8 deletions
| @@ -2,11 +2,11 @@ PREFIX  = /usr/local  BINDIR  = ${PREFIX}/bin  MANPREFIX = ${PREFIX}/share/man -AR      = ar -CC      = cc -RANLIB  = ranlib -RM      = rm -f -YACC    = yacc +AR      ?= ar +CC      ?= cc +RANLIB  ?= ranlib +RM      ?= rm -f +YACC    ?= yacc  # You can uncomment the latter if you aren't using libtls-bearssl. If you @@ -18,12 +18,10 @@ TLSLIB = -ltls -lbearssl  # in-source zlib.  ZLIB      = -lz -CFLAGS  = -Wall -Wno-pointer-sign -Wno-maybe-uninitialized \ +CFLAGS  += -Wall -Wno-pointer-sign -Wno-maybe-uninitialized \  	  -Wno-attributes -I${PWD}/includedir \  	  -D 'DEF_WEAK(n)=_Static_assert(1, "")' \  	  -idirafter ${PWD}/include \  	  -idirafter ${PWD}/sys \  	  -idirafter ${PWD}/lib/libutil \  	  -idirafter ${PWD}/lib/libcrypto - -LDFLAGS = -static | 
