aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/buildsys/mac/gnumake-gcc-flext.inc
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/buildsys/mac/gnumake-gcc-flext.inc')
-rw-r--r--externals/grill/flext/buildsys/mac/gnumake-gcc-flext.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/externals/grill/flext/buildsys/mac/gnumake-gcc-flext.inc b/externals/grill/flext/buildsys/mac/gnumake-gcc-flext.inc
index 2dad1981..6ed4990f 100644
--- a/externals/grill/flext/buildsys/mac/gnumake-gcc-flext.inc
+++ b/externals/grill/flext/buildsys/mac/gnumake-gcc-flext.inc
@@ -46,6 +46,13 @@ $(TARGET) :: $(OBJPATH) $(TARGETPATH)
$(TARGET) :: $(PRECOMDST) $(COBJS) $(CPPOBJS)
ifdef SHARED
$(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
+ifdef DEBUG
+else
+ifdef PROFILE
+else
+ strip -x $@
+endif
+endif
chmod 755 $@
else
libtool -static -o $@ $(COBJS) $(CPPOBJS)