diff options
author | rubidium <rubidium@openttd.org> | 2009-07-13 23:07:11 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-13 23:07:11 +0000 |
commit | 64cc21855f69c5949d6f9d67c223af63df2b2008 (patch) | |
tree | 709bd3176447710b29b9dee3f486b47fbc4bbaad | |
parent | e067d4a4b87d2c4b4fa92f24d241a88cb8432e38 (diff) | |
download | openttd-64cc21855f69c5949d6f9d67c223af63df2b2008.tar.xz |
(svn r16822) -Cleanup: remove the "a PPC bool is four bytes in C++ so it needs to be that big in C too" hack
-rw-r--r-- | config.lib | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/config.lib b/config.lib index dd6d33fe9..1a9510e27 100644 --- a/config.lib +++ b/config.lib @@ -2586,17 +2586,6 @@ make_sed() { T_CFLAGS="$CFLAGS" T_LDFLAGS="$LDFLAGS" - # We check here if we are PPC, because then we need to enable FOUR_BYTE_BOOL - # We do this here, and not sooner, so universal builds also have this - # automatically correct - # FOUR_BYTE_BOOL is needed, because C++ uses 4byte for a bool on PPC, where - # we use 1 byte per bool normally in C part. So convert that last one to 4 - # bytes too, but only for PPC. - ppc=`$cc_host -dumpmachine | egrep "powerpc|ppc"` - if [ -n "$ppc" ]; then - T_CFLAGS="$T_CFLAGS -DFOUR_BYTE_BOOL" - fi - SRC_OBJS_DIR="$BASE_SRC_OBJS_DIR/$OBJS_SUBDIR" # All the data needed to compile a single target |