(winixcli): add a --sort-tables option
while here: - add a fil_max_size filter for putting a space if the inner stream is greater than x characters
This commit is contained in:
@@ -12,9 +12,17 @@ ifndef CXX
|
||||
CXX = g++
|
||||
endif
|
||||
|
||||
ifndef ADDITIONAL_CXXFLAGS
|
||||
ADDITIONAL_CXXFLAGS=-O2
|
||||
endif
|
||||
|
||||
ifndef ADDITIONAL_LDFLAGS
|
||||
ADDITIONAL_LDFLAGS=-s
|
||||
endif
|
||||
|
||||
ifndef CXXFLAGS
|
||||
# /usr/include/postgresql is in Linux distros (Alpine)
|
||||
CXXFLAGS = -Wall -pedantic -O2 -std=c++20 \
|
||||
CXXFLAGS = -Wall -pedantic -std=c++20 $(ADDITIONAL_CXXFLAGS) \
|
||||
-I/usr/local/include \
|
||||
-I/usr/include/postgresql \
|
||||
-I$(GLOBAL_WORKING_DIR)/winix/winixcli \
|
||||
@@ -25,15 +33,13 @@ CXXFLAGS = -Wall -pedantic -O2 -std=c++20 \
|
||||
$(WINIX_NEEDED_MACROS)
|
||||
endif
|
||||
|
||||
|
||||
ifndef LDFLAGS
|
||||
LDFLAGS = -L/usr/local/lib -s
|
||||
endif
|
||||
LDFLAGS = -L/usr/local/lib $(ADDITIONAL_LDFLAGS)
|
||||
|
||||
|
||||
export CXX
|
||||
export CXXFLAGS
|
||||
export LDFLAGS
|
||||
export GLOBAL_WORKING_DIR
|
||||
export WINIX_NEEDED_MACROS
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user