Skip to content

Commit

Permalink
Fix the part of JuliaLang#18164 that broke the build
Browse files Browse the repository at this point in the history
of cmake projects with gcc - CC_ARG and CXX_ARG are getting double processed
somewhere, so cmake is trying to call the compiler as '/usr/bin/gcc gcc'

add cut -s
  • Loading branch information
tkelman authored and mfasi committed Sep 5, 2016
1 parent 3492a1a commit 60aa5f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Make.inc
Original file line number Diff line number Diff line change
Expand Up @@ -445,9 +445,9 @@ export CCACHE_CPP2 := yes
endif
else #USECCACHE
CC_BASE := $(shell echo $(CC) | cut -d' ' -f1)
CC_ARG := $(shell echo $(CC) | cut -d' ' -f2-)
CC_ARG := $(shell echo $(CC) | cut -s -d' ' -f2-)
CXX_BASE := $(shell echo $(CXX) | cut -d' ' -f1)
CXX_ARG := $(shell echo $(CXX) | cut -d' ' -f2-)
CXX_ARG := $(shell echo $(CXX) | cut -s -d' ' -f2-)
endif

JFFLAGS := -O2 $(fPIC)
Expand Down

0 comments on commit 60aa5f3

Please sign in to comment.