CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/08/04 12:23:52
Modified files:
regress/libexec/ld.so/constructor/libaa: aa.C
regress/libexec/ld.so/constructor/libab: Makefile
Log message:
Use volatile to keep clang from optimizing things too much. Force linking
with the c++ command instead of cc by setting CC=${CXX}. This is a hack
and a better solution is under development. Linking with c++ is necessary
to make the shared libraries depend up libc++.so such that the iostream
objects are constructed before we use them.
ok bluhm@