Skip to content

Commit

Permalink
Merge branch 'topic/kliemann/bb-runtimes-106-pthread' into 'master'
Browse files Browse the repository at this point in the history
Remove -pthread from shared library build

See merge request eng/toolchain/bb-runtimes!141
jklmnn committed Nov 13, 2024
2 parents 0549443 + b4604f9 commit 1b11f2a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions support/data/target_options.gpr.in
Original file line number Diff line number Diff line change
@@ -53,8 +53,7 @@ abstract project Target_Options is
-- Since -nostdlib also removes libgcc
-- from the linked libraries we have to
-- add -lc and -lgcc again.
-- Also add -pthread in case it is not already included in -lc.
LOPTIONS := LOPTIONS & ("-nostdlib", "-lc", "-lgcc", "-pthread");
LOPTIONS := LOPTIONS & ("-nostdlib", "-lc", "-lgcc");
end case;

-- Concatenate with common flags

0 comments on commit 1b11f2a

Please sign in to comment.