Link programs that have no Haskell objects with gcc rather than ghc
[ghc-hetmet.git] / utils / hp2ps / ghc.mk
index c113ddb..86ae728 100644 (file)
@@ -19,6 +19,7 @@ utils/hp2ps_dist_PROG    = hp2ps$(exeext)
 utils/hp2ps_dist_INSTALL = YES
 
 utils/hp2ps_CC_OPTS += -Iincludes
+utils/hp2ps_CC_OPTS += -lm
 
 $(eval $(call build-prog,utils/hp2ps,dist,0))