Corrected compilation options
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 18 Jul 2002 08:39:07 +0000 (08:39 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 18 Jul 2002 08:39:07 +0000 (08:39 +0000)
HIJING/Makefile

index 308dd4a..d7ed5f7 100644 (file)
@@ -29,17 +29,17 @@ DOBJS       = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(DSRCS))
 # C++ compilation flags
 
 CXXFLAGS      = $(CXXOPTS) $(CLIBCXXOPTS) $(CLIBDEFS)
+
 # C compilation flags
 
 CFLAGS      = $(COPT) (CLIBCOPT) $(CLIBDEFS)
+
 # FORTRAN compilation flags
-FOPTH       = -g -fno-second-underscore
+FOPTH       = $(filter-out -O%,$(FOPT)) -g
 FFLAGS      = $(FOPTH) $(CLIBFOPT) $(CLIBDEFS) -Ihijing
+
 ##### TARGETS #####
+
 # Target
 
 SLIBRARY       = $(LIBDIR)/libhijing.$(SL) $(LIBDIR)/libdummyhijing.$(SL)