Skip to content

Commit

Permalink
net-wireless/mdk: quote CC and AR when passing them as arguments
Browse files Browse the repository at this point in the history
These variables may contain whitespace. For example, compiler flags are
sometimes passed via the CC variable.

eg. CC="gcc -m32"

Signed-off-by: Mike Gilbert <[email protected]>
  • Loading branch information
floppym committed Nov 19, 2021
1 parent 32044c3 commit 2a9e4c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net-wireless/mdk/mdk-3.6-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ src_prepare() {
}

src_compile() {
emake CC=$(tc-getCC) AR=$(tc-getAR)
emake CC="$(tc-getCC)" AR="$(tc-getAR)"
}

src_install() {
Expand Down

0 comments on commit 2a9e4c1

Please sign in to comment.