зеркало из https://github.com/mozilla/pjs.git
jpeg includes nsprpub header files and thus needs to know about USE_PTHREADS for some platforms. Fixes SparcLinux.
This commit is contained in:
Родитель
6eb1d7c982
Коммит
0acfe0629e
|
@ -78,5 +78,11 @@ DEF_FILE = $(LIBRARY_NAME).def
|
||||||
TARGETS = $(LIBRARY)
|
TARGETS = $(LIBRARY)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
include $(DEPTH)/config/rules.mk
|
include $(DEPTH)/config/rules.mk
|
||||||
|
|
||||||
|
# From nsprpub/config/config.mk, mozilla/jpeg needs to know
|
||||||
|
# about USE_PTHREADS. This fixes platforms like SparcLinux. -mcafee
|
||||||
|
ifeq ($(USE_PTHREADS), 1)
|
||||||
|
OS_CFLAGS += -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM
|
||||||
|
endif
|
||||||
|
|
Загрузка…
Ссылка в новой задаче