fix macOS support, remove faggressive-loop-optimizations

This commit is contained in:
Jacob 2023-04-26 21:31:33 +02:00
parent 87fdfe9659
commit 90aa4da1fd
3 changed files with 6 additions and 5 deletions

View file

@ -8,7 +8,7 @@ include toggle.mk
VERSION = 0.4.1
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMATOGGLE) $(BDTOGGLE) $(PANGOTOGGLE) $(IMLIB2TOGGLE) $(LIBCONFIGTOGGLE)
CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -faggressive-loop-optimizations $(OPT) $(INCS) $(CPPFLAGS)
CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations $(OPT) $(INCS) $(CPPFLAGS)
LDFLAGS = $(LIBS)
INCS = -I$(X11INC) -I$(FREETYPEINC) -I$(BDINC) `pkg-config --cflags $(XFTCONF) $(PANGOCONF) $(PANGOXFTCONF) $(OPENSSLCONF) $(LIBCONFIGCONF)`
LIBS = -L$(X11LIB) $(X11LIBS) $(XINERAMALIBS) $(FREETYPELIBS) $(XRENDERLIBS) -lm `pkg-config --libs $(XFTCONF) $(PANGOCONF) $(PANGOXFTCONF) $(OPENSSLCONF) $(LIBCONFIGCONF)` $(BDLIBS) $(IMLIB2LIBS)

View file

@ -32,6 +32,7 @@ check() {
else
makebin="gnumake"
GEN_MANUAL="false"
PREFIX="/usr/local"
fi
}

View file

@ -1,11 +1,11 @@
# buildconf
#
# This is the default configuration used to build spmenu. The build.sh script reads it.
imlib2=true
pango=true
pangoxft=true
imlib2=false
pango=false
pangoxft=false
xinerama=true
openssl=true
openssl=false
fribidi=true
libconfig=true
cc=gcc