[DynInst_API:] [dyninst/dyninst] ba00b3: Fix handling of CMAKE_C_FLAGS and CMAKE_CXX_FLAGS ...


Date: Fri, 16 Jan 2026 10:41:07 -0800
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] ba00b3: Fix handling of CMAKE_C_FLAGS and CMAKE_CXX_FLAGS ...
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: ba00b3cb5519a16842b85bd8a1b77953b6dc8b94
      https://github.com/dyninst/dyninst/commit/ba00b3cb5519a16842b85bd8a1b77953b6dc8b94
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2026-01-16 (Fri, 16 Jan 2026)

  Changed paths:
    M cmake/DyninstOptimization.cmake

  Log Message:
  -----------
  Fix handling of CMAKE_C_FLAGS and CMAKE_CXX_FLAGS (#2097)

CMAKE__FLAGS were improperly expanded, so didn't handle cases with
spaces. This happens when passing multiple values to CMAKE_<LANG>_FLAGS.
For example, using cmake -DCMAKE_C_FLAGS='-Wall -Wextra' would
ultimately produce gcc '-Wall -Wextra'. With this change, the compiler
arguments are correctly expanded to gcc -Wall -Wextra.



To unsubscribe from these emails, change your notification settings at https://github.com/dyninst/dyninst/settings/notifications
[← Prev in Thread] Current Thread [Next in Thread→]