fix on clang enviroment(use cc instead of gcc)

This commit is contained in:
MIHIRA Sanpei Yoshiro 2013-10-22 12:13:15 +00:00
parent a98125b745
commit ffcfcf4e3e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331257
2 changed files with 1 additions and 3 deletions

View file

@ -12,8 +12,6 @@ DISTNAME= usbrh-${PORTVERSION}
MAINTAINER= sanpei@FreeBSD.org
COMMENT= Yet another reads temperatures and humidity from a Strawberry Linux USB-RH
USE_GCC= any
PLIST_FILES= bin/usbrh
NO_STAGE= yes

View file

@ -7,7 +7,7 @@
+all: $(EXE)
$(EXE): $(SRC)
- gcc -lusb -g -o $@ $^
+ gcc -lusb -g -o $@ $(SRC)
+ cc -lusb -g -o $@ $(SRC)
clean:
rm $(EXE)