Skip to content

Commit 5bf87a0

Browse files
committed
Remove redundant include paths with msvc.
1 parent c9fbce7 commit 5bf87a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spork/cc.janet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,14 +436,14 @@
436436
"Compile a C source file with MSVC to an object file. Return the command arguments."
437437
[from to]
438438
(exec [(cl.exe) "/c" (msvc-cstd) "/utf-8" "/nologo" ;(cflags) ;(msvc-compile-paths) ;(msvc-opt) ;(msvc-defines)
439-
"/I" (dyn *syspath* ".") from (string "/Fo" to)]
439+
from (string "/Fo" to)]
440440
[from] [to] (string "compiling " from "...")))
441441

442442
(defn msvc-compile-c++
443443
"Compile a C++ source file with MSVC to an object file. Return the command arguments."
444444
[from to]
445445
(exec [(cl.exe) "/c" (msvc-c++std) "/utf-8" "/nologo" "/EHsc" ;(c++flags) ;(msvc-compile-paths) ;(msvc-opt) ;(msvc-defines)
446-
"/I" (dyn *syspath* ".") from (string "/Fo" to)]
446+
from (string "/Fo" to)]
447447
[from] [to] (string "compiling " from "...")))
448448

449449
(defn msvc-link-shared

0 commit comments

Comments
 (0)