diff options
author | Lev Walkin <vlm@lionet.info> | 2013-03-25 19:09:04 -0700 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2013-03-25 19:09:04 -0700 |
commit | 2655eb3f05f30690f1fec2ea0dce097affe4fc3a (patch) | |
tree | 77483d3df238d97430edde003e6f07ac127b5a95 /libasn1compiler | |
parent | 47189a7e8646591399e441a8a65e81e57bef3078 (diff) |
deprecate -fskeletons-copy; this option is now a default; use -flink-skeletons for old behavior
Diffstat (limited to 'libasn1compiler')
-rw-r--r-- | libasn1compiler/asn1c_save.c | 2 | ||||
-rw-r--r-- | libasn1compiler/asn1compiler.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libasn1compiler/asn1c_save.c b/libasn1compiler/asn1c_save.c index 2a01b411..d71db199 100644 --- a/libasn1compiler/asn1c_save.c +++ b/libasn1compiler/asn1c_save.c @@ -434,7 +434,7 @@ asn1c_copy_over(arg_t *arg, char *path) { #ifdef _WIN32 int use_real_copy = 1; #else - int use_real_copy = (arg->flags & A1C_SKELETONS_COPY); + int use_real_copy = !(arg->flags & A1C_LINK_SKELETONS); #endif fname = a1c_basename(path); diff --git a/libasn1compiler/asn1compiler.h b/libasn1compiler/asn1compiler.h index c8c9b9b2..93755da9 100644 --- a/libasn1compiler/asn1compiler.h +++ b/libasn1compiler/asn1compiler.h @@ -52,10 +52,10 @@ enum asn1c_flags { */ A1C_INDIRECT_CHOICE = 0x0400, /* - * -fskeletons-copy - * Copy support files rather than symlink them. + * -flink-skeletons + * Symlink support files rather than copy them. */ - A1C_SKELETONS_COPY = 0x0800, + A1C_LINK_SKELETONS = 0x0800, /* * -gen-PER * Generate PER support code |