This fixes building with clang for linux with PIC enabled. This is cherrypicked from libav commit 8847eeaa14. Signed-off-by: Martin Storsjö <martin@martin.st>
8847eeaa14