diff options
| author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-08-27 13:53:27 +0200 |
|---|---|---|
| committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-08-27 13:53:27 +0200 |
| commit | c56332857145d1c6741d4f6c1bbc87dcc6c6ab97 (patch) | |
| tree | 9d5b7f29d3ef637264b2bdfad0ec3fb1c0f8ee05 /config.mk | |
| parent | fixed potential bug in IS_SET(). (diff) | |
| download | st-c56332857145d1c6741d4f6c1bbc87dcc6c6ab97.tar.gz st-c56332857145d1c6741d4f6c1bbc87dcc6c6ab97.zip | |
removed XINERAMA from config.mk and fixed a segfault when st is
started without a display. (thx Hiltjo Posthuma)
Diffstat (limited to '')
| -rw-r--r-- | config.mk | 8 |
1 files changed, 2 insertions, 6 deletions
| @@ -10,16 +10,12 @@ MANPREFIX = ${PREFIX}/share/man | |||
| 10 | X11INC = /usr/X11R6/include | 10 | X11INC = /usr/X11R6/include |
| 11 | X11LIB = /usr/X11R6/lib | 11 | X11LIB = /usr/X11R6/lib |
| 12 | 12 | ||
| 13 | # Xinerama, comment if you don't want it | ||
| 14 | #XINERAMALIBS = -L${X11LIB} -lXinerama | ||
| 15 | #XINERAMAFLAGS = -DXINERAMA | ||
| 16 | |||
| 17 | # includes and libs | 13 | # includes and libs |
| 18 | INCS = -I. -I/usr/include -I${X11INC} | 14 | INCS = -I. -I/usr/include -I${X11INC} |
| 19 | LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS} | 15 | LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 |
| 20 | 16 | ||
| 21 | # flags | 17 | # flags |
| 22 | CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} | 18 | CPPFLAGS = -DVERSION=\"${VERSION}\" |
| 23 | CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} | 19 | CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} |
| 24 | LDFLAGS = -s ${LIBS} | 20 | LDFLAGS = -s ${LIBS} |
| 25 | 21 | ||
