summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2008-06-02 23:42:21 +0000
committerBryan O'Sullivan <bos@lindenlab.com>2008-06-02 23:42:21 +0000
commitb41d7adf45fd0070c4148d1035efb44870bebde9 (patch)
treea4efb7c32339295e7bf3cde6f19aa45d2955281c
parent4199f6dd1dc7d42c12afb87ec02c7eaab17416dd (diff)
Fix Ubuntu compilation problem
-rw-r--r--indra/llaudio/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llaudio/CMakeLists.txt b/indra/llaudio/CMakeLists.txt
index 27e33b8cf3..efe907ca82 100644
--- a/indra/llaudio/CMakeLists.txt
+++ b/indra/llaudio/CMakeLists.txt
@@ -50,6 +50,11 @@ if (FMOD)
audioengine_fmod.h
listener_fmod.h
)
+
+ if (LINUX AND ${GXX_VERSION} MATCHES "4.[23]")
+ set_source_files_properties(audioengine_fmod.cpp
+ COMPILE_FLAGS -Wno-error=write-strings)
+ endif (LINUX AND ${GXX_VERSION} MATCHES "4.[23]")
endif (FMOD)
set_source_files_properties(${llaudio_HEADER_FILES}