Skip to content

Commit

Permalink
Merge pull request #153 from OpenShot/revert-146-new-linux-appimage
Browse files Browse the repository at this point in the history
Revert "Support for New Linux Build Server + glibc Wrapping"
  • Loading branch information
jonoomph authored May 1, 2023
2 parents 7507654 + 9ad4668 commit dce5569
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ linux-builder:
- build/install-x64/*
script:
- mkdir -p build; cd build;
- cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -D"CMAKE_INSTALL_PREFIX:PATH=install-x64" -D"CMAKE_BUILD_TYPE:STRING=Release" -DAPPIMAGE_BUILD=1 ../
- cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -D"CMAKE_INSTALL_PREFIX:PATH=install-x64" -D"CMAKE_BUILD_TYPE:STRING=Release" ../
- make -j 2
- make install
- PROJECT_VERSION=$(grep -E '^set\(PROJECT_VERSION_FULL "(.*)' ../CMakeLists.txt | awk '{print $2}' | tr -d '")')
Expand Down
9 changes: 0 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,6 @@ include(FeatureSummary)
### Build configuration (options)
option(ENABLE_AUDIO_DOCS "Attempt to build API docs for audio library" ON)
option(AUTO_INSTALL_DOCS "Include documentation in the default install" ON)
option(APPIMAGE_BUILD "Build to install in an AppImage (Linux only)" OFF)

if (APPIMAGE_BUILD)
# Force older version of glibc and -pthread flag when building AppImage
# for better backwards compatibility (i.e older distros)
message("Wrapping libc for compatibility with version glibc_2.23")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -include /usr/local/include/force_link_glibc_2.23.h -pthread -static-libgcc")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include /usr/local/include/force_link_glibc_2.23.h -pthread -static-libgcc")
endif()

# Alternative location for JUCE modules (debian has their own)
set(JUCE_MODULES_PATH "${CMAKE_CURRENT_SOURCE_DIR}/JuceLibraryCode/modules" CACHE PATH
Expand Down

0 comments on commit dce5569

Please sign in to comment.