summaryrefslogtreecommitdiff
path: root/src/build.sh
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2015-02-05 16:47:07 +0000
committerGraeme Geldenhuys <graemeg@gmail.com>2015-02-05 16:47:07 +0000
commit94958cb149f01f2ba070484ccbc0cdf33c1ae9fa (patch)
tree018e2c6ae8b96c3d10411618e9dbc16a374a36a6 /src/build.sh
parentb0cf7b2f3481f00c8ec883f2634e132f610ab9b0 (diff)
downloadfpGUI-94958cb149f01f2ba070484ccbc0cdf33c1ae9fa.tar.xz
Framework build scripts switched to DEBUG build mode
The reason this was done, is because the RELEASE mode allows FPC to strip out code that isn't used by the framework. This causes a problem for other projects, because other projects might still need that stripped out code (eg: Docview). It run it often causes a "identifier not found" error. Switching back to DEBUG build means those projects compile without problem.
Diffstat (limited to 'src/build.sh')
-rwxr-xr-xsrc/build.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/build.sh b/src/build.sh
index 3d3394ac..8a180ceb 100755
--- a/src/build.sh
+++ b/src/build.sh
@@ -13,7 +13,8 @@ if [ ! -d $libpath ]; then
fi
# Default build
-$fpcbin -dRELEASE -dX11 @extrafpc.cfg corelib/x11/fpgui_toolkit.pas
+$fpcbin -dDEBUG -dX11 @extrafpc.cfg corelib/x11/fpgui_toolkit.pas
+
# experimental AggPas-enabled Canvas under X11
-#$fpcbin -dRELEASE -dX11 -dAGGCanvas @extrafpc.cfg corelib/x11/fpgui_toolkit.pas
+#$fpcbin -dDEBUG -dX11 -dAGGCanvas @extrafpc.cfg corelib/x11/fpgui_toolkit.pas