aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc')
-rw-r--r--externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc b/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc
index 1e2d61d3..22314356 100644
--- a/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc
+++ b/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc
@@ -26,7 +26,11 @@ $(TARGET):: $(TARGETPATH)
$(TARGET):: $(COBJS) $(CPPOBJS)
$(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
chmod 755 $@
+ifndef DEBUG
+ifndef PROFILE
strip --strip-unneeded $@
+endif
+endif
##############################################