1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-25 08:34:36 +00:00
cde/src/cmd/builtin
Martijn Dekker 580ff61617 Fix release and standards build flags (re: 35672208, aa4669ad)
bin/package, src/cmd/INIT/package.sh:
- CCFLAGS overwrites the autodetected optimisation flags (e.g. -Os)
  if set. Unfortunately, that also happened when we added something
  to CCFLAGS for a release build or to add an extra flag needed by
  Solaris. The fix is to use a new flags variable (KSH_RELFLAGS)
  instead. This needs to be done in a different place as it needs
  to be added to the mamake command as an assignment argument.
- Remove the Solaris CCFLAGS hack; see features/common below.

src/*/*/Mamfile:
- Add ${KSH_RELFLAGS} to all the compiler commands.

src/lib/libast/features/common:
- Enable POSIX standard on Solaris (i.e.: if __sun is defined) by
  defining _XPG6 directly in the feature test that generates
  ast_std.h, which is indirectly included by everything. This
  removes the need to pass -D_XPG6 via CCFLAGS. (Doing so
  automatically with gcc was not otherwise possible.)

src/cmd/INIT/cc.sol11.*:
- No longer pass -D_XPG6, as per above.
2021-01-18 01:07:45 +00:00
..
features Restore AST 'pty' pseudoterminal command (re: reboot) 2020-06-12 12:35:58 +02:00
Makefile Restore AST 'pty' pseudoterminal command (re: reboot) 2020-06-12 12:35:58 +02:00
Mamfile Fix release and standards build flags (re: 35672208, aa4669ad) 2021-01-18 01:07:45 +00:00
pty.c Fix some errors in the documentation and other minor issues (#42) 2020-06-25 19:31:51 +02:00
RELEASE Restore AST 'pty' pseudoterminal command (re: reboot) 2020-06-12 12:35:58 +02:00