Skip to content

Use gcc-specific _compile method for triplet-gcc as well#160

Merged
fgregg merged 2 commits intoscrapinghub:masterfrom
karcherm:allow-triplet-gcc
Sep 30, 2024
Merged

Use gcc-specific _compile method for triplet-gcc as well#160
fgregg merged 2 commits intoscrapinghub:masterfrom
karcherm:allow-triplet-gcc

Conversation

@karcherm
Copy link
Copy Markdown
Contributor

On debian bookworm, distutils invokes gcc as x86_64-linux-gnu-gcc, so allow command line elements ending in "-gcc" as well as command line elements being exactly "gcc". Without this change, -std=c99 doesn't get added to the compile command line. Surprisingly, it still compiles with gcc 12, though.

karcherm and others added 2 commits June 12, 2024 23:33
On debian bookworm, distutils invokes gcc as x86_64-linux-gnu-gcc, so allow
command line elements ending in "-gcc" as well as command line elements being
exactly "gcc".
@fgregg fgregg merged commit c0a5f95 into scrapinghub:master Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants