Rodrigo Mesquita pushed to branch wip/T23675 at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • distrib/configure.ac.in
    ... ... @@ -216,7 +216,7 @@ AC_SUBST([LlvmAsCmd])
    216 216
     
    
    217 217
     dnl We know that `clang` supports `--target` and it is necessary to pass it
    
    218 218
     dnl lest we see #25793.
    
    219
    -if test -z "$LlvmAsFlags" ; then
    
    219
    +if test -z "$LlvmAsFlags" && ! test -z "$LlvmTarget"; then
    
    220 220
         LlvmAsFlags="--target=$LlvmTarget"
    
    221 221
     fi
    
    222 222
     AC_SUBST([LlvmAsFlags])