aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorGaius Mulley <gaiusmod2@gmail.com>2023-03-22 16:39:12 +0000
committerGaius Mulley <gaiusmod2@gmail.com>2023-03-22 16:39:12 +0000
commitaae0d89e65c5da6ef45ec787e165dccb5ae7e2d0 (patch)
treecb7b9c8b2af0c3a824f1d1854eb74049ca5a6af2 /gcc/go
parent426cab4e3b46abaeae0813042b5addc789e3b2be (diff)
downloadgcc-aae0d89e65c5da6ef45ec787e165dccb5ae7e2d0.zip
gcc-aae0d89e65c5da6ef45ec787e165dccb5ae7e2d0.tar.gz
gcc-aae0d89e65c5da6ef45ec787e165dccb5ae7e2d0.tar.bz2
modula2: Add cwd to include path. Include m2cor before m2pim.
The driver should default to include the current working directory in the module search path. This patch adds . to the search path provided -fm2-pathname has not been specified. The patch also reorders the pim libraries so that the m2cor directory is searched before m2pim. Coroutine support is visible by default for both -fpim and -fiso (from their respective SYSTEM modules). gcc/m2/ChangeLog: PR modula2/109248 * Make-lang.in (m2/pge-boot/%.o): Add CFLAGS and CXXFLAGS for C and C++ compiles. * gm2spec.cc (add_m2_I_path): Indentation. (lang_specific_driver): New variable seen_pathname. Detect -fm2-pathname. If not seen then push_back_Ipath ("."). Change non iso library path to "m2cor,m2log,m2pim,m2iso". Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions