Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions configs/projects/_shared-compiler-settings.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Define default CFLAGS and LDFLAGS for most platforms, and then
# tweak or adjust them as needed.
proj.setting(:cppflags, "-I#{proj.includedir} -I/opt/pl-build-tools/include")
proj.setting(:cppflags, "-I#{proj.includedir}")
proj.setting(:cflags, proj.cppflags)
proj.setting(:ldflags, "-L#{proj.libdir} -L/opt/pl-build-tools/lib -Wl,-rpath=#{proj.libdir}")
proj.setting(:ldflags, "-L#{proj.libdir} -Wl,-rpath=#{proj.libdir}")

# Platform specific overrides or settings, which may override the defaults

Expand Down
5 changes: 2 additions & 3 deletions configs/projects/openbolt-runtime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,8 @@

# Define default CFLAGS and LDFLAGS for most platforms, and then
# tweak or adjust them as needed.
proj.setting(:cppflags, "-I#{proj.includedir}")
proj.setting(:cflags, proj.cppflags)
proj.setting(:ldflags, "-L#{proj.libdir} -Wl,-rpath=#{proj.libdir}")
# Load default compiler settings
instance_eval File.read('configs/projects/_shared-compiler-settings.rb')

# Platform specific overrides or settings, which may override the defaults
if platform.is_windows?
Expand Down