]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Do not use system's stdc++
authorSergey Matveev <stargrave@stargrave.org>
Tue, 16 Aug 2022 13:48:41 +0000 (16:48 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Tue, 16 Aug 2022 13:48:41 +0000 (16:48 +0300)
zsh/.zsh/env/005paths.zsh
zsh/.zsh/env/010c.zsh

index 4ad8fddf5b8bf7bf650a770da87b48dce8f4361d..99a8a020b31042460a2add1fc0c53c6efc0695fb 100644 (file)
@@ -15,4 +15,4 @@ export -TU PKG_CONFIG_PATH pkg_config_path
 pkg_config_path=(~/local/lib/pkgconfig ~/local/libdata/pkgconfig)
 
 export -TU LD_LIBRARY_PATH ld_library_path
-ld_library_path=(~/local/lib)
+ld_library_path=(~/local/lib/x86_64-unknown-freebsd12.0 ~/local/lib)
index fae6a455d1aafcfc1e6a3ba6d0b8104d1107d959..ff0d4fc3b56670b6648c2a0d69f9a809266aa4be 100644 (file)
@@ -3,3 +3,6 @@ cflags=(-I$HOME/local/include -I/usr/local/include -I/usr/local/include/PCSC)
 
 export -TU LDFLAGS ldflags " "
 ldflags=(-L$HOME/local/lib -L/usr/local/lib)
+
+export -TU CXXFLAGS cxxflags " "
+cxxflags=(-stdlib++-isystem ~/local/include/c++/v1 $cflags)