Browse Source

add note about -mcpu

master
Sadoon AlBader 4 months ago
parent
commit
13f4645f41
  1. 4
      config.mk

4
config.mk

@ -26,8 +26,8 @@ LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} -lX11-xcb -lxcb -lxcb-r
# flags
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -O3 -mcpu=native ${INCS} ${CPPFLAGS}
# I know mcpu is deprecated, but it's the one that works on ppc so
CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -O3 -mcpu=native -mtune=native ${INCS} ${CPPFLAGS}
LDFLAGS = ${LIBS}
# Solaris

Loading…
Cancel
Save