Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frr: fix host build error on macOS #24053

Merged
merged 1 commit into from
Apr 30, 2024

Commits on Apr 30, 2024

  1. frr: fix host build error on macOS

    Fixes:
    lib/command_graph.c:16:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma DEFINE_MTYPE_STATIC(LIB, CMD_TOKENS, "Command Tokens"); ^
    ./lib/memory.h:139:2: note: expanded from macro 'DEFINE_MTYPE_STATIC'
            DEFINE_MTYPE_ATTR(group, name, static, desc)                           \
            ^
    ./lib/memory.h:109:26: note: expanded from macro 'DEFINE_MTYPE_ATTR'
                    __attribute__((section(".data.mtypes"))) = { {                 \
    
    [1] FRRouting/frr#6032
    [2] FRRouting/frr#15890
    
    Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
    httpstorm committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    5cda1f9 View commit details
    Browse the repository at this point in the history