diff options
author | Aaron Crane <arc@cpan.org> | 2017-10-12 15:46:20 +0200 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2017-10-21 16:51:53 +0100 |
commit | 516e10a9956d11346cdddceee7203ef7e6181dc0 (patch) | |
tree | 3bf553d17736770fe4109fd393c958dd6629af2b /hints | |
parent | 6e876d890f021fe5f975eed6716986552e849b66 (diff) | |
download | perl-516e10a9956d11346cdddceee7203ef7e6181dc0.tar.gz |
Assume C89 "volatile" keyword
The Configure changes here were generated using a version of metaconfig
that makes U/perl/perlxv.U assume that the keyword exists, and prevents
U/modified/d_volatile.U from promising to define a "volatile" keyword;
otherwise, those units would bring in the relevant Configure probe anyway.
Diffstat (limited to 'hints')
-rw-r--r-- | hints/mips.sh | 1 | ||||
-rw-r--r-- | hints/ultrix_4.sh | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/hints/mips.sh b/hints/mips.sh index bc0b7e8073..61ab39af32 100644 --- a/hints/mips.sh +++ b/hints/mips.sh @@ -1,5 +1,4 @@ perl_cflags='optimize="-g"' -d_volatile=undef d_castneg=undef cc=cc glibpth="/usr/lib/cmplrs/cc $glibpth" diff --git a/hints/ultrix_4.sh b/hints/ultrix_4.sh index e7360821ff..f32f06dba3 100644 --- a/hints/ultrix_4.sh +++ b/hints/ultrix_4.sh @@ -38,10 +38,6 @@ case "$cc" in *4.2*) ccflags="$ccflags -DLANGUAGE_C -Olimit 3800" # Prototypes sometimes cause compilation errors in 4.2. prototype=undef - case "$myuname" in - *risc*) d_volatile=undef ;; - esac - ;; *4.3*) ccflags="$ccflags -std1 -DLANGUAGE_C -Olimit 3800" ;; *) ccflags="$ccflags -std -Olimit 3800" ;; esac |