Browse Source

lavu: Makefile: skip atomic.c if native atomics are available

This prevents a linker warning and skips a useless compilation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.8
Rodger Combs Michael Niedermayer 10 years ago
parent
commit
c190fdf65d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavutil/Makefile

+ 2
- 1
libavutil/Makefile View File

@@ -78,7 +78,6 @@ BUILT_HEADERS = avconfig.h \

OBJS = adler32.o \
aes.o \
atomic.o \
audio_fifo.o \
avstring.o \
base64.o \
@@ -137,6 +136,8 @@ OBJS = adler32.o \
xga_font_data.o \
xtea.o \

OBJS-$(!HAVE_ATOMICS_NATIVE) += atomic.o \

OBJS-$(CONFIG_LZO) += lzo.o
OBJS-$(CONFIG_OPENCL) += opencl.o opencl_internal.o



Loading…
Cancel
Save