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:
Henrik Lissner 2018-06-28 12:59:29 +02:00
parent e76e4a1f75
commit b0f59ff5bd
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -13,7 +13,7 @@ database.")
;; NOTE beware: you'll get abi-inconsistencies when passing
;; std-objects to libraries linked with libstdc++ (e.g. if you
;; use boost which wasn't compiled with libc++)
(list "-stdlib=libc++"))))
"-stdlib=libc++")))
(objc-mode . nil))
"A list of default compiler options for the C family. These are ignored if a
compilation database is present in the project.")