Skip to content

Commit

Permalink
Remove $(CPP) on Windows as well
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Apr 28, 2021
1 parent 407c77b commit 680d004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makevars.win
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ clean:

winlibs: clean
"${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" "../tools/winlibs.R" $(VERSION)
echo '#include <curl/curl.h>' | $(CPP) $(PKG_CPPFLAGS) -std=gnu99 -xc - | grep "^[ \t]*CURLOPT_.*," | sed s/,// > ../tools/option_table.txt
echo '#include <curl/curl.h>' | $(CC) $(PKG_CPPFLAGS) -std=gnu99 -E -xc - | grep "^[ \t]*CURLOPT_.*," | sed s/,// > ../tools/option_table.txt

.PHONY: all winlibs clean

0 comments on commit 680d004

Please sign in to comment.