Ticket #96 (closed defect: fixed)

Opened 2 years ago

Last modified 19 months ago

"-pthread" compile flag should not be used on darwin / Mac

Reported by: rogueresearch Owned by: stuge
Milestone: Component: libusb-1.0
Keywords: Cc:
Blocked By: Blocks:

Description

When building libusb master with clang it warns:

clang: warning: argument unused during compilation: '-pthread'

Indeed, unlike other UNIXes, -pthread is not needed on Darwin.

This seems fixed with 07ee35998e9fcc416309e96e3d07f643d604207c yet is not is master somehow.

Change History

comment:1 Changed 21 months ago by rogueresearch

I don't seem to be able to reproduce this anymore.

Did someone fix it?

comment:2 Changed 19 months ago by stuge

  • Resolution set to fixed
  • Status changed from new to closed

In [16cf11a1213272afd616598fa3aba0941e66ec3c/libusb]:

configure.ac: Do not use -pthread on Darwin

It's not needed because Darwin has POSIX Threads in libc. Fixes #96.

Note: See TracTickets for help on using tickets.