]> git.decadent.org.uk Git - ion3.git/blobdiff - system.mk
Merge commit '20071220' into HEAD
[ion3.git] / system.mk
index 32db47c60e282321eddd13a6aa490d94ebda836f..26ea7f76c9378023c9b6a56b7def16521a66cbbd 100644 (file)
--- a/system.mk
+++ b/system.mk
@@ -2,13 +2,16 @@
 ## System settings
 ##
 
-
 ##
 ## Installation paths
 ##
 
 PREFIX=/usr/local
 
+# For relocatable build, use the following, and start with absolute path.
+# RELOCATABLE=1
+# PREFIX=
+
 # Unless you are creating a package conforming to some OS's standards, you
 # probably do not want to modify the following directories:
 
@@ -109,7 +112,7 @@ DEFINES += -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND
 # If you're on an archaic system (such as relatively recent *BSD releases)
 # without even dummy multibyte/widechar and localisation support, you may 
 # have to uncomment the following line:
-#DEFINES += -DCF_NO_LOCALE
+#DEFINES += -DCF_NO_LOCALE -DCF_NO_GETTEXT
 
 # On some other systems you may something like this:
 #EXTRA_LIBS += -lintl
@@ -131,8 +134,8 @@ WARN=       -W -Wimplicit -Wreturn-type -Wswitch -Wcomment \
        -Wtrigraphs -Wformat -Wchar-subscripts \
        -Wparentheses -pedantic -Wuninitialized
 
-CFLAGS=-g -Os $(WARN) $(DEFINES) $(EXTRA_INCLUDES) $(INCLUDES)
-LDFLAGS=-g -Os $(EXTRA_LIBS) $(LIBS)
+CFLAGS=-Os $(WARN) $(DEFINES) $(EXTRA_INCLUDES) $(INCLUDES)
+LDFLAGS=-Os $(EXTRA_LIBS) $(LIBS)
 EXPORT_DYNAMIC=-Xlinker --export-dynamic
 
 # The following options are mainly for development use and can be used
@@ -143,7 +146,7 @@ EXPORT_DYNAMIC=-Xlinker --export-dynamic
 
 #C89_SOURCE=-ansi
 
-#POSIX_SOURCE=-D_POSIX_SOURCE
+#POSIX_SOURCE=-D_POSIX_C_SOURCE=200112L
 
 # Most systems
 #XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED