fix C_LAPACK build options for files that must be built unoptimized
authormartin-frbg <martin@ruby.chemie.uni-freiburg.de>
Thu, 12 May 2022 07:43:23 +0000 (09:43 +0200)
committermartin-frbg <martin@ruby.chemie.uni-freiburg.de>
Thu, 12 May 2022 07:43:23 +0000 (09:43 +0200)
lapack-netlib/INSTALL/Makefile
lapack-netlib/TESTING/MATGEN/Makefile

index 667197f..dc76a66 100644 (file)
@@ -78,6 +78,6 @@ dlamch.o: dlamch.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
 sroundup_lwork.o: sroundup_lwork.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
 droundup_lwork.o: droundup_lwork.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
 else
-slamch.o: slamch.c ; $(CC) $(CFLAGS) -c -o $@ $<
-dlamch.o: dlamch.c ; $(CC) $(CFLAGS) -c -o $@ $<
+slamch.o: slamch.c ; $(CC) $(CFLAGS) -O0 -c -o $@ $<
+dlamch.o: dlamch.c ; $(CC) $(CFLAGS) -O0 -c -o $@ $<
 endif
index d0e4a0a..62a215b 100644 (file)
@@ -110,6 +110,6 @@ ifneq ($(C_LAPACK), 1)
 slaran.o: slaran.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
 dlaran.o: dlaran.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
 else
-slaran.o: slaran.c ; $(CC) $(CFLAGS_NOOPT) -c -o $@ $<
-dlaran.o: dlaran.c ; $(CC) $(CFLAGS_NOOPT) -c -o $@ $<
+slaran.o: slaran.c ; $(CC) $(CFLAGS) -O0 -c -o $@ $<
+dlaran.o: dlaran.c ; $(CC) $(CFLAGS) -O0 -c -o $@ $<
 endif