Skip to content

Commit 35b5599

Browse files
committed
remove -nostdlib from flags; unsupported
1 parent ba62918 commit 35b5599

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

recipe/activate.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ set "LD=lld-link.exe"
99

1010
:: following https://github.com/conda-forge/clang-win-activation-feedstock/blob/main/recipe/activate-clang_win-64.bat
1111
set "FFLAGS=-D_CRT_SECURE_NO_WARNINGS -fms-runtime-lib=dll -fuse-ld=lld -I%LIBRARY_INC%"
12-
set "LDFLAGS=-nostdlib -Wl,-defaultlib:%CONDA_PREFIX:\=/%/lib/clang/@MAJOR_VER@/lib/windows/clang_rt.builtins-x86_64.lib"
12+
set "LDFLAGS=-Wl,-defaultlib:%CONDA_PREFIX:\=/%/lib/clang/@MAJOR_VER@/lib/windows/clang_rt.builtins-x86_64.lib"

recipe/meta.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ source:
99
sha256: 09c08693a9afd6236f27a2ebae62cda656eba19021ef3f94d59e931d662d4856
1010

1111
build:
12-
number: 4
12+
number: 5
1313
# intentionally only windows (main target) & linux (debuggability)
1414
skip: true # [osx]
1515

@@ -120,8 +120,8 @@ outputs:
120120
commands:
121121
# see naming discussion: https://discourse.llvm.org/t/reviving-rename-flang-new-to-flang/68130/2
122122
# - flang hello_world.f90
123-
- flang-new $FFLAGS hello_world.f90 # [unix]
124-
- flang-new %FFLAGS% hello_world.f90 # [win]
123+
- flang-new $FFLAGS hello_world.f90 # [unix]
124+
- flang-new %FFLAGS% hello_world.f90 %LDFLAGS% # [win]
125125
- ./a.out # [unix]
126126
- a.exe # [win]
127127
# check if activation worked

0 commit comments

Comments
 (0)