mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-21 22:57:04 +01:00
Remove warnings
* Remove assigned but not used variables (GCC 4.6) * Bump _XOPEN_SOURCE to 600, ridding of FreeBSD warnings (this probably need to be tweaked on a per-implementation basis as problems arise)
This commit is contained in:
1 parent
43c7abe79f
commit
f65b99e615
45 files changed
+83
-174
No files matched your search
+2
-1
@@ -82,10 +82,11 @@ dnl ================================
|
||||
case "${host}" in
|
||||
*-*-linux*|*-*-cygwin*)
|
||||
WM_OSDEP="linux"
|
||||
CFLAGS="$CFLAGS -D_XOPEN_SOURCE=600"
|
||||
;;
|
||||
*-*-freebsd*)
|
||||
WM_OSDEP="bsd"
|
||||
CFLAGS="$CFLAGS -DFREEBSD"
|
||||
CFLAGS="$CFLAGS -D_XOPEN_SOURCE=600 -DFREEBSD"
|
||||
;;
|
||||
*-*-netbsd*)
|
||||
WM_OSDEP="bsd"
|
||||
|
||||
Reference in new issue
Block a user