⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 249178 in webkit


Ignore:
Timestamp:
Aug 27, 2019, 3:29:45 PM (7 years ago)
Author:
Adrian Perez de Castro
Message:

Merged r248954 - [GTK][WPE] Gtk-Doc fails with build options which need cooperation between CFLAGS and LDFLAGS
https://bugs.webkit.org/show_bug.cgi?id=200987

Reviewed by Philippe Normand.

Only CFLAGS was being set before trying to generate the documentation
but not LDFLAGS, which could cause errors when gtk-doc tries to link
a generated program when the compiler flags would also require usage
of certain linker flags later on.

  • Source/cmake/GtkDoc.cmake: Also set LDFLAGS in the environment when

invoking Tools/gtkdoc/generate-gtkdoc.

Location:
releases/WebKitGTK/webkit-2.24
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.24/ChangeLog

    r247045 r249178  
     12019-08-21  Adrian Perez de Castro  <aperez@igalia.com>
     2
     3        [GTK][WPE] Gtk-Doc fails with build options which need cooperation between CFLAGS and LDFLAGS
     4        https://bugs.webkit.org/show_bug.cgi?id=200987
     5
     6        Reviewed by Philippe Normand.
     7
     8        Only CFLAGS was being set before trying to generate the documentation
     9        but not LDFLAGS, which could cause errors when gtk-doc tries to link
     10        a generated program when the compiler flags would also require usage
     11        of certain linker flags later on.
     12
     13        * Source/cmake/GtkDoc.cmake: Also set LDFLAGS in the environment when
     14        invoking Tools/gtkdoc/generate-gtkdoc.
     15
    1162019-07-02  Carlos Garcia Campos  <cgarcia@igalia.com>
    217
  • releases/WebKitGTK/webkit-2.24/Source/cmake/GtkDoc.cmake

    r238853 r249178  
    55        OUTPUT "${CMAKE_BINARY_DIR}/${_stamp_name}"
    66        DEPENDS ${DocumentationDependencies}
    7         COMMAND ${CMAKE_COMMAND} -E env "CC=${CMAKE_C_COMPILER}" "CFLAGS=${CMAKE_C_FLAGS} -Wno-unused-parameter" ${CMAKE_SOURCE_DIR}/Tools/gtkdoc/generate-gtkdoc ${_extra_args}
     7        COMMAND ${CMAKE_COMMAND} -E env "CC=${CMAKE_C_COMPILER}" "CFLAGS=${CMAKE_C_FLAGS} -Wno-unused-parameter" "LDFLAGS=${CMAKE_EXE_LINKER_FLAGS}" ${CMAKE_SOURCE_DIR}/Tools/gtkdoc/generate-gtkdoc ${_extra_args}
    88        COMMAND touch ${_stamp_name}
    99        WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
Note: See TracChangeset for help on using the changeset viewer.