Skip to content

Commit ee42445

Browse files
authored
Merge pull request #3612 from nsait-linaro/fix-windows-make-build
build: minor fixes to build on windows with make
2 parents 18b19d1 + 3f5d145 commit ee42445

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile.system

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1536,7 +1536,7 @@ override FFLAGS += $(COMMON_OPT) $(FCOMMON_OPT)
15361536
override FPFLAGS += $(FCOMMON_OPT) $(COMMON_PROF)
15371537
#MAKEOVERRIDES =
15381538

1539-
ifdef NEED_PIC
1539+
ifeq ($(NEED_PIC), 1)
15401540
ifeq (,$(findstring PIC,$(FFLAGS)))
15411541
override FFLAGS += -fPIC
15421542
endif
@@ -1566,6 +1566,7 @@ endif
15661566

15671567
ifdef OS_WINDOWS
15681568
LAPACK_CFLAGS += -DOPENBLAS_OS_WINDOWS
1569+
LAPACK_CFLAGS += -DLAPACK_COMPLEX_STRUCTURE
15691570
endif
15701571
ifeq ($(C_COMPILER), LSB)
15711572
LAPACK_CFLAGS += -DLAPACK_COMPLEX_STRUCTURE

0 commit comments

Comments
 (0)