lang/cc: fix wrong-type-argument: stringp error
Caused by -stdlib flag being a sub-list in +cc-default-compiler-options, when it should be nil or a string.
This commit is contained in:
parent
e76e4a1f75
commit
b0f59ff5bd
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ database.")
|
||||||
;; NOTE beware: you'll get abi-inconsistencies when passing
|
;; NOTE beware: you'll get abi-inconsistencies when passing
|
||||||
;; std-objects to libraries linked with libstdc++ (e.g. if you
|
;; std-objects to libraries linked with libstdc++ (e.g. if you
|
||||||
;; use boost which wasn't compiled with libc++)
|
;; use boost which wasn't compiled with libc++)
|
||||||
(list "-stdlib=libc++"))))
|
"-stdlib=libc++")))
|
||||||
(objc-mode . nil))
|
(objc-mode . nil))
|
||||||
"A list of default compiler options for the C family. These are ignored if a
|
"A list of default compiler options for the C family. These are ignored if a
|
||||||
compilation database is present in the project.")
|
compilation database is present in the project.")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue