summaryrefslogtreecommitdiffstats
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-02-17 04:28:52 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-02-17 04:28:52 (GMT)
commitbd433d92bad0545ce6d821fee8557dc7aae6b1fe (patch)
treed8ef6a839aea8dafd61ea06dc61fcb6fbdc54120 /src/Makefile.in
parenta07f22582eb4ba5980603e5452851de6ff5aa3b1 (diff)
downloadhdf5-bd433d92bad0545ce6d821fee8557dc7aae6b1fe.zip
hdf5-bd433d92bad0545ce6d821fee8557dc7aae6b1fe.tar.gz
hdf5-bd433d92bad0545ce6d821fee8557dc7aae6b1fe.tar.bz2
[svn-r8208] Purpose:
Bug fix. Description: Last fix using -O0 is not portable. Rejected by some systems such as AIX and Sun. Solution: Changed -O0 to -g. Platforms tested: "h5committested" Tested in titan too. Misc. update:
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index baf7fba..4daf99b 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -84,11 +84,11 @@ H5Tinit.c: H5detect
($(RM) $@ ; exit 1)
## no $(LIB) in the action below since that's being made now.
-## No optimization since many compilers (e.g., Intel) takes a long time
-## to compile it with any optimization on. H5detect is used to generate
-## H5Tinit.c once. So, optimization is not critical.
+## Use -g to force no optimization since many compilers (e.g., Intel) takes
+## a long time to compile it with any optimization on. H5detect is used
+## to generate H5Tinit.c once. So, optimization is not critical.
H5detect: $(srcdir)/H5detect.c
- $(CC) $(CFLAGS) $(CPPFLAGS) -O0 $(srcdir)/H5detect.c \
+ $(CC) $(CFLAGS) $(CPPFLAGS) -g $(srcdir)/H5detect.c \
$(LDFLAGS) $(LIBS) -o $@