summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-01-22 21:07:16 -0500
committerBen Gamari <ben@smart-cactus.org>2020-02-14 10:16:36 -0500
commit6e8371442dc6130a03e648a0e1bc0f1bdfdbfe91 (patch)
tree777d013b2eada6d40cfeb7b3c04d53dd8bd96f06
parent9cbace74dadf6fe64267f0b68635402f5c848b72 (diff)
downloadhaskell-6e8371442dc6130a03e648a0e1bc0f1bdfdbfe91.tar.gz
integer-gmp: Fix unused command-line argument
-L is only needed during linking.
-rw-r--r--libraries/integer-gmp/gmp/ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/integer-gmp/gmp/ghc.mk b/libraries/integer-gmp/gmp/ghc.mk
index e4cea275eb..c9dd69953b 100644
--- a/libraries/integer-gmp/gmp/ghc.mk
+++ b/libraries/integer-gmp/gmp/ghc.mk
@@ -59,7 +59,7 @@ ifneq "$(CLEANING)" "YES"
endif
gmp_CC_OPTS += $(addprefix -I,$(GMP_INCLUDE_DIRS))
-gmp_CC_OPTS += $(addprefix -L,$(GMP_LIB_DIRS))
+gmp_LD_OPTS += $(addprefix -L,$(GMP_LIB_DIRS))
# Compile GMP only if we don't have it already
#