aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/msvc.txt
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-05-03 13:10:45 +0000
committerlloyd <[email protected]>2011-05-03 13:10:45 +0000
commit8b2e5f9d9744f74ee65deb7f9990c1bf468a7602 (patch)
tree1b72f799671ca9bacf6b1663c31464073adeb990 /src/build-data/cc/msvc.txt
parent7b4382d96065b05ed44fbc24b9e8134036b070b9 (diff)
When building for GCC, always get the version number, and turn off TR1
and -fvisibility support if the version is too old. You can also turn them off explicitly with the (hidden) option --without-visibility. We get the version number from the binary specified with --cc-bin, if the user set that, rather than from plain 'g++'. Fix Solaris install - apparently 'install' cmd is broken/dumb. Fix Ekopath flags for submodels.
Diffstat (limited to 'src/build-data/cc/msvc.txt')
-rw-r--r--src/build-data/cc/msvc.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build-data/cc/msvc.txt b/src/build-data/cc/msvc.txt
index a854a576d..034ea7444 100644
--- a/src/build-data/cc/msvc.txt
+++ b/src/build-data/cc/msvc.txt
@@ -14,8 +14,8 @@ check_opt_flags "/O2 /D_CONSOLE"
lang_flags "/EHs /GR"
warning_flags "/W3 /wd4275 /wd4267"
-shared_flags "/DBOTAN_DLL=__declspec(dllexport)"
-dll_import_flags "__declspec(dllimport)"
+visibility_build_flags "/DBOTAN_DLL=__declspec(dllexport)"
+visibility_attribute "__declspec(dllimport)"
ar_command lib