Skip to content

Commit cf61d48

Browse files
committed
fix C_LAPACK build options for files that must be built unoptimized
1 parent 884e6da commit cf61d48

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lapack-netlib/INSTALL/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ dlamch.o: dlamch.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
7878
sroundup_lwork.o: sroundup_lwork.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
7979
droundup_lwork.o: droundup_lwork.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
8080
else
81-
slamch.o: slamch.c ; $(CC) $(CFLAGS) -c -o $@ $<
82-
dlamch.o: dlamch.c ; $(CC) $(CFLAGS) -c -o $@ $<
81+
slamch.o: slamch.c ; $(CC) $(CFLAGS) -O0 -c -o $@ $<
82+
dlamch.o: dlamch.c ; $(CC) $(CFLAGS) -O0 -c -o $@ $<
8383
endif

lapack-netlib/TESTING/MATGEN/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,6 @@ ifneq ($(C_LAPACK), 1)
110110
slaran.o: slaran.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
111111
dlaran.o: dlaran.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
112112
else
113-
slaran.o: slaran.c ; $(CC) $(CFLAGS_NOOPT) -c -o $@ $<
114-
dlaran.o: dlaran.c ; $(CC) $(CFLAGS_NOOPT) -c -o $@ $<
113+
slaran.o: slaran.c ; $(CC) $(CFLAGS) -O0 -c -o $@ $<
114+
dlaran.o: dlaran.c ; $(CC) $(CFLAGS) -O0 -c -o $@ $<
115115
endif

0 commit comments

Comments
 (0)