summaryrefslogtreecommitdiff
path: root/libavcodec/bfin/dsputil_bfin.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/bfin/dsputil_bfin.h')
-rw-r--r--libavcodec/bfin/dsputil_bfin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bfin/dsputil_bfin.h b/libavcodec/bfin/dsputil_bfin.h
index 8d5d32746d..90d7e2fb3b 100644
--- a/libavcodec/bfin/dsputil_bfin.h
+++ b/libavcodec/bfin/dsputil_bfin.h
@@ -24,7 +24,7 @@
#ifndef AVCODEC_BFIN_DSPUTIL_BFIN_H
#define AVCODEC_BFIN_DSPUTIL_BFIN_H
-#ifdef __FDPIC__
+#if defined(__FDPIC__) && CONFIG_SRAM
#define attribute_l1_text __attribute__ ((l1_text))
#define attribute_l1_data_b __attribute__((l1_data_B))
#else