aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/buildh.in
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/buildh.in
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/buildh.in')
-rw-r--r--src/build-data/buildh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in
index 8e0de0183..733646524 100644
--- a/src/build-data/buildh.in
+++ b/src/build-data/buildh.in
@@ -20,7 +20,7 @@
#define BOTAN_DISTRIBUTION_INFO "%{distribution_info}"
#ifndef BOTAN_DLL
- #define BOTAN_DLL %{dll_import_flags}
+ #define BOTAN_DLL %{visibility_attribute}
#endif
/* Chunk sizes */